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.
Fixed
There are no problems with the last set of tests. Since state is not preserved:
I encountered this same problem in JavaScript. It's the second test spec in the 'State isn't preserved' suite of tests.
Which language are you encountering this problem in? I completed both the JavaScript and PHP versions myself without encountering any issues (except for following convention in PHP).
They pass for me, so my guess is that you were working directly on the array (very bad practice), which now I prevented from affecting anything else.
Also, so far 25 Rubyist completed it without further issues, so...
Can we please get this fixed? It's been a year since this issue was raised.
The test before it
Test.expect(mazeRunner(maze,["N","N","N","N","N","N","N","N","N","S","S","S","S","S","S","S","S","S"])=="Lost", "Should return Lost")
is expecting "Lost". You're not mixing it up with that are you?Hi @OscarAlvarez, I've checked the Javascript tests and that particular test is
Test.expect(mazeRunner(maze,["N","E","E"])=="Dead", "Should return Dead")
maybe I have the expected and actual the wrong way around. Please check your code to make sure it's not outputing "Lost".Fixed that, thanks!
fixed.
thanks for your feedback!!
Okay thanks Oscar, @GiacomoSorbi can you confirm this?