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.
One more idiotic solution for this kata
When I klick the "RUN SAMPLE TESTS" botton, everithing is ok, but when the "ATTEMPT":
"Passed: 3 Failed: 100 Errors: 1"
With such errors:
Log
Testing for: one,of,break,better,those,hard
Expected: NaN, instead got: 6
JavaScript
In JS Attempt tests "Expected: NaN" everywhere.
Kata without possible solution.
Accordingly to test cases 2,5,3 should return 0, but 1.99,5,3 sould return -1, despite the fact that 1.99 < 3. I don't get it.