I think this should be level 6 or 5, I guess 5 if you decide to enforce time complexity
I like this kata.
Thanks! I'm planning on making another one soon :)
It was crazy cool game...I finally defeated all the Bosses! :D
Thanks, I'm glad you enjoyed it!
Very creative using megaman for the problem. Was fun!
Done :) Thanks for the suggestion.
It would be cool if the random bosses had randomly generated MM-style boss names instead of ordinary random strings :3
Ah, my bad. Looks like the example test case wasn't wrapped in a describe. It should work now.
That's strange, it validates for me, and it looks like every Test.it() is correctly nested in a Test.Describe.
Does the error say if it's failing for you on the Random Tests or on the "Returns correct boss orders" tests?
Attempting my solution to test cases will make occour this error:
"it" calls must be invoked within a parent "describe" context
I'll try to improve them. Thanks for the feedback.
Yes, I am using parseInt, and I was not aware of that behavior.
Thanks for the feedback. I will need to rethink this kata.
Your instructions aren't clear. Same problem that Voile pointed out.
[ 2746, 'vgppgo4', 985, '5405', 814, 'oJ8Wpx4', 1727, '893', 1286, '7601', 8286, 'V3qQBFK', 3388, '8753', 2721, 'ykz9WR5', 3087, '7261', 5190, '229' ]
Expected: 91953, instead got: 90947
Are you using parseInt, which will give a number to a non-numerical string if it has numbers in front?