Ad
  • Custom User Avatar

    The tests aren't consistent with description.
    it says numbers up to 10,000 will be provided but i got 86,000+

    Also there is no mention of what to do when the string to 2 decimal places ends in one or two zeros

  • Custom User Avatar

    Really good kata! Taught me a lot

  • Custom User Avatar

    Hey guys, im having a bit of trouble getting your suggestions to work within the test cases input.
    How do I get the 'actual' variable in the checkFuzzyEquals function to === the users return value?

    thanks in advance

    PS. I've got another kata I could use a bit of help with. If you could help with that, it would be great. Really want to get my head around creating more in depth test cases than just: if x = x return true

  • Custom User Avatar

    classic cars appreciate?

  • Custom User Avatar

    I passed by submitting but failed when I tried to run the tests. Think it might be becuase there are no 'example test cases'

  • Custom User Avatar

    Agree that the test cases were too simple so thanks for that as well!

  • Custom User Avatar

    Hey bkaes, thanks for the suggestion. I had a look at the help section given for applying the 'test cases' and I couldnt really understand it. And especially the difference between the various options like 'expect, expectSimilar, assertEquals'.
    Will adjust now

    Thanks

  • Custom User Avatar

    should be sorted now

  • Custom User Avatar

    Gotcha, this is my first kata so learning as im going, i think i know how to change it

    Thanks

  • Custom User Avatar

    Im not sure why but I failed when I ran the tests and passed when I submitted the same code

  • Custom User Avatar

    Hello!
    Would anyone be able to explain the last reduce function to me? I understand thats the bit thats multiplying the two sorted arrays together but im not quite sure how

    thanks

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Loading more items...