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.
I understand that this is a kata for very beginners. Still I believe that you should put more simple mistakens in the code to be corrected, like removing a ";", mistyping some keywords or something else.
This kata is basically a duplicate to the entry test, Multiply.
Needs more tests.
I like that there is very little explanation and one must first run it to use the error as a way of finding the right answer...-However- as you'll see with my solution it also let's someone get a "correct" answer with a small, cheap "hack". Possibly missing the bigger point of the problem? At the very least add more test cases, but I think this is too simple as it is.
Just one test allows for incorrect code to pass. Yes, even for a kata named Very easy, that's no excuse for writing poor test suite.
This comment is hidden because it contains spoiler information about the solution