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)
random tests of the form [x], n where n>0 are expecting [] instead of [x]. This contradicts one of the sample tests and the description of the kata. Python
This comment is hidden because it contains spoiler information about the solution
Hi,
Nice one. Some suggestions:
Kata.splitAndAdd(new int[]{1,2,3,4,5},20)
)r.nextInt(100)+1
to be able to generate an array of length one.cheers!