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.
they probably thought it was pass by reference not by value
I made it private
The reference solution for the random tests should be private, otherwise it can be called from users' solutions (although its name has to be guessed first).
Thanks for your feedback.
I will fix them.
The arguments of assertions are in the wrong order.
assertSame
should be used instead ofassertEquals
.PHP translation
This comment is hidden because it contains spoiler information about the solution
What about the sideeffects!!