Ad
  • Custom User Avatar

    This test failure is a bit confusing to me, given that the kata description requires that we keep the punctuation in its original location, which is opposite to what this expected value would suggest. It looks like these 'random value' test cases are expecting all the punctuation to be deleted.

    Are we supposed keep punctuation in its original location in some situations, but not others?

    I'd love to know if there's something obvious I'm missing in my understanding of the problem so I can solve the problem properly. Thanks! :)

    TEST:
    "Testing for "you're codewars blink, eat jiggery-pokery callipygian four dice in"

    It should work for random inputs too -
    Expected: "yorue cadeorws bilnk eat jeeggikoprryy caagiillpyn four dcie in",

    instead got: "yor'ue cadeorws bilnk, eat jeeggik-oprryy caagiillpyn four dcie in" "

  • Custom User Avatar

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

  • Custom User Avatar

    It seems as though the tests are contradictory - in some, the spaces are counted (and the letters on either side of the space share the same case), and in others they aren't. I've coded solutions for both scenarios and neither pass all of the tests.