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.
Hi
I tried to submit my solution, but I was told:
“It should work for random inputs too – Expected: false, instead got: true”
I then took the tests where I had failed, and ran them through my program using irb and the terminal.
Surprisingly, the irb showed the program running as it should do, giving false when it was expected. Is this because of a flaw with irb?