Ad
  • Custom User Avatar

    Thank you for spotting that! I just updated my test cases to have random tests.

    Edit: Ok, should be working now.

  • Custom User Avatar

    Ha! Yeah, they're almost the same. Except yours is better described and tested ;) I looked through the approved katas to see if there were similar JS ones, but I hadn't looked through the betas.

  • Custom User Avatar

    Oh sorry, that would make sense. I'm getting familiar with codewars and how this all works- this is my first authored Kata.

    I just unflagged it as a spolier.

  • Custom User Avatar

    Yeah, once I fixed the Math.abs problem, that test failed for me too. Hopefully that has also been updated. I'll check again.

  • Custom User Avatar

    Good point, this should not be passing. I'm looking into it now. Thanks for spotting that!

    Found the problem and have fixed it. I had a mismatched paranthesis on Math.abs. Thanks again!