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.
Resolved description MC
Scrutinized tests
Added useful assertion messages
Added input and returned types
Removed preloaded code and modified random test generation
Removed reference solution and made it different from OP's solution
Added corresponding headers to be compatible with PHPUnit 9.5.2
Resolved description MC
Scrutinized tests
Added useful assertion messages
Added input and returned types
Removed reference solution and used different solution with OPs
Modified random test logic to generate only digits (derived from Crystal)
Added corresponding headers to be compatible with PHPUnit 9.5.2
Doing nothing pass all your random tests.
Missing PHP example in the description.
You're right, both issues have been fixed now. Thanks!
The random tests generate arrays filled with just one value.
Missing PHP example in the description.
PHP translation added
PHP translation added
You're right, this has been fixed with the latest edit. Thanks!
The arguments of
assertEquals
are in the wrong order.PHP translation added
PHP translation added