Ad
  • Custom User Avatar

    Comparing values in an list/array is not novel.

  • Custom User Avatar

    Why you've used list, when all that matters is the first value?

  • Custom User Avatar

    hi,

    several small problems here:

    • not enough tests
    • needs random tests
    • don't put the results in the describe message (moreover, most of them are false)
    • all the describe blocks are concatenated, that's rather ugly... x) please use the new test framework (dysfunctionning tablet, cannot paste the link... you ca find it on github, search for the version 2).
    • finally, the description is currently incorrect about the 2 edge cases: for now, the 0 case cannot occur when reading the description because the first edge case will apply first. So you need to invert them in the description.