Ad
  • Custom User Avatar

    Looking at the above returned log, the left elivator is on the first floor, and the right elevator is on the ground level.
    The call is made on the ground level meaning that the right elevator is the closest (already on the same level). So 'left'is not the correct outcome or the exercise description is wrong.
    It seems to test for the previous input for call, in that case it would be nice to add this to the description to the exercise to avoid confusion.

  • Custom User Avatar

    Test set is wrong because of the following output:'right' should equal 'left'
    Testing for: left = 1, right = 0, call = 0
    In this case "right" should be the correct answer as it is on the same floor as the call int, however it still tells me the output should be left.

  • Custom User Avatar

    I have never seen an ATM that has the possibility to input - or . Besides that great exercise!