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.
Ruby 3.0 should be enabled, read this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
Lua translation is available with large Autotests.
I do not like when any kind of test fails, so at the solution setup I add kind of dump to pass test for a while:
Review and approve, please.
Thank you
There are people who trip over
(-3)%2===1
- so, since you're not specifying nonnegative numbers, there should probably be tests with negative ones.Also, I fixed the input modification vulnerability in the random tests.
Neither one of these I considered important enough to preclude approval, but I hope you'll consider the negatives suggestion.