Ad
  • Custom User Avatar

    The tests are ok, it's your code what's wrong. And what I told you is this:

    Log
    Testing for: left = 1, right = 2, call = 0
    'right' should equal 'left'
    

    that's a single test, first the log, then the test result.

    About your code, your second elif condition is the same as the if condition and overall it's not ok, that's why it's failing. You can test your code with that input in the sample tests.

  • Custom User Avatar

    The log appears before the test result, and that input expects "right". Check your code.