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.
Fixed, now the expected result does not change despite any changes in the input array
Random tests: modifying the input changes the expected result.
Fixed test Assertions as suggested
Thanks for pointing that out. Added random tests
Suggested tags:
arrays, geometry, algorithms
Your kata is sent back to Draft, once you solve these issues, you can republish the kata back to beta.
Error messages are not useful. You have to test the tuple as a whole, not item by item.
The user wants to see something like this:
actual value (1, 0) does not equal expected value (3, 5)
This comment is hidden because it contains spoiler information about the solution