Ad
  • Custom User Avatar

    Two quick issues with the Python version's pre-filled test case:

    • It uses test.expect_equals, when it should be test.assert_equals
    • It counts the newline as part of the line's character count, whereas the kata description and hidden test cases do not
  • Custom User Avatar

    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.

  • Custom User Avatar

    This is nitpicky, but the tests are inconsistent about double equals vs triple equals. They should probably just all use triple equals.

  • Custom User Avatar

    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'].

  • Custom User Avatar

    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.