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.
It isn't possible that this is an example of a random test array. Their sizes are one of these:
[100,200,500,1000,2000]
. You have specifically mentioned that this is Test #5, and these arrays have words in exactly the order of the 5thSample_Test
, however some words are missing. Nowhere in the kata are arrays of length6
. Sorry, but you have confused something. There is no problem with the JS tests, random or otherwise.Your comment here shows wrong arrays of words, and gets the wrong outcome... but I checked that your eventual solution for this test and your code does in fact run the expected sequence of the game, by the rules, and you get the correct outcome. So, no, there's nothing wrong with the JS tests. It would be preferred that you go back and edit the comment in a situation like this. Regardless, glad you enjoyed the kata challenge.