Ad
  • Custom User Avatar

    @Abbe

    The 500 solve limit has been lifted. Please fix the tests ;-)

  • Custom User Avatar
  • Custom User Avatar

    Yep, you are completely correct. The tests for some of the languages were not reviewed enough when the kata was published.

    Unfortunately, I can't change them after the publication.

    Fortunately, the mistake will still let all correct solutions pass.

  • Custom User Avatar

    haskell test is wrong
    this is the correction, you have a .&&. in place of .||. and that can work only for xs == ys

    it "works if s is simply the concatenation of both parts" $
    property $ \xs ys ->
    isMerge (xs ++ ys) xs ys .||. isMerge (ys ++ xs) xs ys