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.
Random tests added :) Thanks for your contribution. 👍
it's updated. Thanks a lot for your contribution :)
Hi Neilm. That makes sense, you're right. I should edit the description this way (based on your suggestions) :
=> the string could contains duplicates - these should be removed before processing subsequent rules
=> the first person of the list (excluding duplicates) will always be captain
=> the second person of the list (excluding duplicates) will always be the referee
What you think ? :)
Added a test with duplicate players names :)
Well, thank you for your advice. I'll have a look ASAP 👍
Hey Kacarott, thank you for your feedback.
I fixed the 2 last issues in the sample tests and in the description.
Since I'm learning to write tests with Mocha, I have to look after some informations to be able to write random tests :)
Thanks for your feedback dfhwze :)
I added a case when the captain and referee is the same person.