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.
There are no tests that check for tests that check whether the correct error message is thrown from within the Animal code.
Unless we can take Inception to the next dream level, in which case we would allow solutions as this:
https://www.codewars.com/kata/reviews/520e63974a0521906f00003c/groups/617d3f8fe7fd340001029607
It appears to want to wrap the array and sometimes the elements to strings before comparing to the reference solution.
It could be nice to test [3,5,6,6,4] instead of [3,5,6,4]. Now here is no tests for duplicates in the same call.
Coffeescript is broken for unknown reason
No sample tests.
No random tests.
This comment is hidden because it contains spoiler information about the solution
Removed the misleading "args" from Ruby and Python initial solutions.
Random tests added to JS
This comment is hidden because it contains spoiler information about the solution
Care to write some? You may take it from ruby or python. If you post it here (with spoiler flags) I can add it to the kata. Also, if you can make a coffeescript version of it (it's similar to js, right?), I'll update that too.
It's rather expensive to generate and test huge arrays, so I simply removed that part of the description. It's an old kata after all, which tend to be a bit overrated, but the ranking cannot be changed anymore. Take the easy points and carry on :-)
Added random tests to ruby
Yeah got it. I thought it was just taking a list input. Thanks for the reply.
Loading more items...