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.
This comment is hidden because it contains spoiler information about the solution
You must explicitly say about any rounding needed to complete tests ot kata itself.
I (and I guess not only me) am outraged that I am forced to play game "guess where there is rounding, and which one it is". And that it takes literally 20 times more time than finding an actual solution.
I had to look at kata discussion to find out what may be wrong.
And I found out that there actually was a discussion about empty array handling, but it was not finished.
In my opinion empty array looks like a pretty valid input, so the output should also be an empty array.
Right now I cant think of any reason why there should be 'array should contain only numbers'-output for an empty array. I mean empty array does not really contain anything that can be called 'not a number' since it does not contain, well, anything :)