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.
long live gozer
we all are, there's no point in anything
i'm dead
means that your code returned false when the right answer is true
right. but when i run attempt and i get "expected:true but was:false". if i switch the return values around, wouldn't that return the opposite? instead it returns the same value. unless i am really missing something here.
The sample tests are just a small selection from the actual tests. Passing the sample tests does not automatically mean that your solution is correct and will pass the "attempt" tests.
You can print to the console to see what the input was and how your code processed it. With that information, you'll be able to debug your code.
When I run thru test: both pass. If I switch the return values, then both tests fail.
When i run attempt: both fail. if i switch the return values, still fails. that doesn't make sense?
no fancy methods necessary. simple and highly effective, nice!