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.
Thanks for all suggestions and improvements! This is my very first kata. Will fix :)
The kata provides such pitiful test cases it does not generalize. For example, author solution fails in these cases:
{"abc": -10000000000000000}
{"abc": "10000000000000000 10000000000000000"}
{"10000000000000000 ": 123}
{"abc": 10000000000000000.123}
{"abc": "\\t100\\10000000000000000}
This isn't tested, using
Number.isSafeInteger
also passes the tests.chai.config.truncateThreshold = 0
needs to be set in the tests.No random tests