Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Random test assertion message substitutes the wrong value:
Should be equal to xxx
has the input rather than the expected value.Also, some parts of the random test input range do not make sense: at height like
218cm
the "height needed to jump" becomes negative, when it really should be0
.There are absolutely no information that can help deduce the formula, except a whole bunch of inputs and expected values generated by the random tests.
This is not a "puzzle", this is just blindly fitting data to get a formula. And not a good one at it either, if it is just a linear relationship.
This is just a trivial variant of https://www.codewars.com/kata/574c5075d27783851800169e.