Ad
  • Default User Avatar

    Same by me... If I returned with "median", the test doesn't work...

    By the way... the numbers and median, and mean values are the same by me...

  • Default User Avatar

    With (3600 * delta distance) / delta time returns with 80, and I could pass this KATA.

    Btw... 80 isn't the right answer, im pretty sure

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    The test are the same in all languages and 1373 guys passed the kata so I am quite sure there are no errors in the tests. Did you read the post below?
    Operations on float can have different results if you change the order and associativity is not always true. You can read: http://www.walkingrandomly.com/?p=5380. Maybe you could try (3600 * delta distance) / delta speed.
    Cheers!

  • Default User Avatar

    Tests are wrong (for example: instead 81 (0.45/20*3600 = 81.0) expects 80)...