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.
Though your setup will most likely work,
a more Kotlin-ish solution would be:
I'd also leave out the class for the solution setup and just take the function.
The test can also easily be written in a loop.
Let me know what you think :)