Ad
  • Default User Avatar

    example of tests to add: test.assert_equals(flag_substrings(['TE', 'attest']), [True, False]) (just one, but you'll need to find far more of them)

    Note: maybe you should unpublish the kata in the meantime, because it will continue to get more and more "somewhat satisfied" votes (or worse) of people that may not come back here to change their vote and that could forbid the approval of the kata for a while...

  • Custom User Avatar

    Thanks for the feedback, I'll work to fix the issues you mentioned

  • Default User Avatar
    • not enough tests
    • need random tests

    EDIT: note that your tests are insufficient: this solution is wrong (I forgot to check in the strings without considering case) and it still passed the tests.

    EDIT²: btw, the argument name should be lst or arr, but not text (it's not a string)