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.
Not sure why the test cases are not showing up in R. When I fail a test, the message shows:
"Test Failed
actual
not equal toexpected
.1 element mismatch".
Sorry my bad!
Both conditions must be fulfilled.
The 2nd sample test for Python appears to have an error. The 73-year-old should be in 'Senior' category.
test.assert_equals(open_or_senior([(16, 23),(73,1),(56, 20),(1, -1)]),['Open', 'Open', 'Senior', 'Open'])