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.
Probably i wasn't clear enough.
Fixed tests is fine. But in random tests first digits of the number is missing.
In my example there was string "eight hundred and eighty-five" and my code return 885, but i still got error «Expected: 85».
It happens exactly with tests which have more than 2 digits in input-string.
One more example:four thousand seven hundred and fifty-nine. Test expect only 59.
Random tests in Ruby are broken.
Like: eight hundred and eighty-five => Expected: 85