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.
jlb071, that test expects false in every language, the next one expects true. In my previous post I was talking about jenThepilot test, not the OP. PHP tests aren't broken.
I agree the test data for PHP appears broken, in the given example above there is no element in array1 that when squared equals 36100 -- which is an element of array2.
It looks like that's optional, afaik.
why?
jenThepilot: and why would that be false? That test is ok.
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);