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.
yea I assumed it was me, I'm new to this, thanks for the help.
and when I try it in repl it works fine... hmm.
This is odd, for this test:
Test.assertSimilar(findAB([-3,-2,-2,-1,0,1,2,3,4],0), [-3,0]);
i get:
Expected: '[-3, 0]', instead got: '[-3, -0]'
how on earth is it coming up with a negative 0... what am I missing?
I really enjoyed this kata! I will say reading about some people's problems ahead of time let me preplan for edge cases
It would be helpful if you could see what the test cases are so I can actually fix my code instead of guessing at the problem.
thanks!
Can anyone provide some guidance on writing test cases? I have the code finished but I can't figure out the writing of the test cases. I wish it just came with them!
Is it possible to see the test arrays its running against because in my tests it works but on here it doesn't.