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.
Here are the tests above being run: Time: 509ms Passed: 12 Failed: 0
Here is what happens when I attempt: Passed: 3759 Failed: 1 Errors: 1
How is it possible that I'm passing the sample tests, but failing the actual test case, and if there are suppose to be only 40 random cases how am I passing over 2000?
I understand many people have passed the kata already, but unless I'm failing a test case I have not included, it makes no sense I can't pass the kata.
Javascript test case issues?
These tests are passing as well as all the 1000+ random test cases, but when I go to attempt it fails?
a1 = [121, 144, 19, 161, 19, 144, 19, 11];
a2 = [1111, 121121, 144144, 1919, 161161, 1919, 144144, 1919];
Test.assertEquals(comp(a1, a2), true)
Test.assertEquals(comp([], []), true)
Test.assertEquals(comp(null, null), false)
Test.assertEquals(comp(true, null), false)
Test.assertEquals(comp(true, true), false)
Test.assertEquals(comp(null, true), false)
Test.assertEquals(comp([true], [1]), false)
Test.assertEquals(comp([], [,null,]), false)
Test.assertEquals(comp([null], [0]), false)
Test.assertEquals(comp(1, [0]), false)
Test.assertEquals(comp([,,,], [,,,]), true)
Test.assertEquals(comp([[],,], []), false)