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.
I think there's something wrong in the random tests.
I can pass the 5 regular tests, but I get inconsistent failures in the random tests.
Sometimes, I get a passing assert for a random test with a toughest challenge:
Test Passed: Value == It took 423 licks to get to the tootsie roll center of a tootsie pop. The toughest challenge was Something Bad.
But then at other times, I get a failing assert for a random test that has a toughest challenge:
Expected: It took 114 licks to get to the tootsie roll center of a tootsie pop. The toughest challenge was Something Bad., instead got: It took 114 licks to get to the tootsie roll center of a tootsie pop.
Why would I be able to pass some tests that have a toughest challenge but not other tests? In the personal testing for my code, in the case where there are multiple toughest challenges, my code only picks the first one that occurs. I also tried to set the code to pick the last toughest challenge, but the random test errors still occur.
What does it mean when the random tests say
Something Good
andSomething Bad
? Those reasons are very obscure for debugging and trying to isolate the error.Thank you for making these 80's-themed problems. They're really fun!