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.
test.assert_equals
python: function name should be snake_case
Non-integral distances should be tested, but it isn't tested.
Please review kata authoring guideline before creating a kata: the sample tests are example the same as actual tests, and there are no random tests.
This is also a duplicate of https://www.codewars.com/kata/5376343a003bf6e034000c56 (or https://www.codewars.com/kata/5376b901424ed4f8c20002b7 for a performance version)
The actual tests are the same as sample tests (and there are no random tests), so this kata isn't even trying to make the tests comprehensive.
(Also, the comment below is a issue too; the fixed test cases are too weak)
This comment is hidden because it contains spoiler information about the solution