Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    and:

    • no fixed tests with the tens digit being the same as the last one
    • no test with one single number
    • the behavior with an empty string isn't defined (and isn't tested either, if it should be)
  • Custom User Avatar
    • the example tests still aren't written properly (while the full test suite is, so I don't understand what you're doing...)
    • the task is still as much artificial as it was (At least, it has less shenanigans with type conversions than the first one...)

    Cheers

  • Custom User Avatar

    Hi,

    • the example tests contain the solution...
    • the example tests aren't running at all (the test framework isn't used properly)
    • sorry to say, but the task has close to no interest: it's totally artifical, and made of things that have been doen hundreds of times already

    Did you already read the docs about authoring? Especially this page?
    My advice would be to not republish this kata.

    Cheers