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.
The description should be updated with the comment made by @post-rex.
I should have used a while but I didn't want to create weird loops while debugging
Me neither.
The log should show up above each test result, no matter if the test fails or not.
Ah, true. Thanks. Is there a way to print all the input arrays upfront not just the one where the testing fails?
i
is not the index infor i in arr
, it's the element itself.Can't you print it?
This comment is hidden because it contains spoiler information about the solution
yes, I also think that is broken for PHP. It's expecting true in this case.
$a1 = [10000000,100000000];
$a2 = [100000000000000,10000000000000000];
$this->revTest(comp($a1, $a2), true);