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.
Two quick issues with the Python version's pre-filled test case:
test.expect_equals
, when it should betest.assert_equals
I think it would help to clarify the meaning of "consecutive" in the kata description. I read "4 consecutive numbers" as meaning 4 numbers that are numerically consecutive, such as 1234 or 6789. However, in this case it actually refers to numbers that are consecutive in the input string.
This is nitpicky, but the tests are inconsistent about double equals vs triple equals. They should probably just all use triple equals.
Seconding this. In the default python tests, Alphabet is a dict but it's treated like an object. Alphabet.TYPE should be changed to Alphabet['TYPE'].
I believe the tests just check that an exception is raised by the interpeter in those cases. I originally tried to return an error message and that did not pass the tests.