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.
Added a description
Unfortunately, I don't understand what you mean.
I set conditions on this kata that are described.
According to these conditions need to provide a working code.
All these conditions are verified by tests
Could you more details to explain what you mean, please?
I replaced the 'assert_true' with 'assert_equals'.
Also, I do not understand what you mean about
"Python: useless error messages:"
Made more numbers of tests
Added description
Added test which has an array of various lengths with random values at the input
This code should be working with commands IDs
Which IDs were input in the variable $uids they should be returned as an array certain configuration, this is one of the rules.
You showed me an array in which there are values that should not be there
Developed and added a test that checks the compliance of input and output data.
Corrected the description.
Added the necessary tests to the 'Example Test Cases'
Added necessary tests
Should be working well)
Tried to fix everything
This is my first kata, I may have made some mistakes.
According to an error (testNotEnoughPlayers), the tournament means at least 3 participants.
According to an error (testDuplicateUids), participants cannot be duplicated in the tournament.
According to an error (Incorrect input data), mean accepts an array of IDs that are of type integer
Different input
Different output
The number of commands can be any, it can be either even or odd