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
Loading collection data...
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