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.
Too easy, in comparison with other tasks of the 6 kyu. But the idea is really interesting, for learning to the use 2D arrays.
Another one to add to the Codewars book of lore. A timeless artefact it is indeed.
you can add/edit/remove example test cases yourself based on examples that you want to try
note that this is only local and does not affect the kata itself
I deleted the console logs, but the third parameter was added initially
You should not log to Console, instead add the message as third parameter to Assert.AreEqual -> this way, only on error, the message is logged to the screen.
Added a random test cases with float numbers
All assertion have a message
Are you sure exact equality with floating points is a good idea?
Random tests only have integer input.
Assertion message should display the input for better user experience.
Now there are 99 random tests.
Why don't you add more example test cases ?
There should be multiple random tests.
Done. All tests are exact equality
Loading more items...