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.
Thanks, I finally solved it.
Your code has a bug in it. You aren't testing in VS code with the same values that codewars is testing your class with, otherwise you would see the same result in VS code.
The tests are fine, just solved it. As some other 14000 people before me.
Codewars kata are rigorously tested by multiple users, 99% of the time you can be sure the problem is not in the tests.
This comment is hidden because it contains spoiler information about the solution