Ad
  • Custom User Avatar

    first of all i would like to thank dinglemouse for this really awesome kata, even though i haven't solved it yet, i have had fun pondering it so far. the simple tests have all been successful, but in the advanced tests, 2 fail: fire_drill and random. When I read your question, I wondered how you got the test case of fire_drill, for example?

  • Custom User Avatar

    calculation of the averages is wrong, isnt it?

  • Custom User Avatar

    I disagree that it leads to wrong code. I managed to solve it without any hacks or anti-patterns. I do agree that the description could be a lot clearer. THe only issue I have right now is that one part of the random test is sometimes failing, the AverageConsumptionByDistance test are flacky but that could be a rounding error on my part so not blaming the test yet. What I liked about this Kata was the seperation of concerns. You could solve it using passing lambdas but I managed to fix it without

  • Custom User Avatar

    actually the kata was fun, but due to the inaccurate descriptions and the many assumptions you have to make, it is unsatisfying. It is strange when you "must" write "wrong" code...

    i decided to cancel the kata to save myself from headaches.