Ad
  • Custom User Avatar

    Hope you got this handled. Thanks for helping AcesOfGlory. This looks like what is happening is that the assertEquals test function uses strict comparison which this doesn't pass. Read more in the testing docs here:

    http://www.codewars.com/docs/js-slash-coffeescript-test-reference

    And as AcesOfGlory mentioned, please keep these comments on the kata page.

  • Custom User Avatar

    Which Kata is it (send me a link) and which language did you do it in? If the problem is Kata specific, you should post on the discourse page for that Kata instead of the forum which is for general topics. It's possible that you are giving the wrong data type - maybe it wants a string and you gave a float or vise versa.

  • Custom User Avatar

    Welcome to Codewars!

    You can print the input parameter directly to the console so that you can see where you went wrong.