This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/176. Please join the discussion to help us identify duplicate kata and retire them.
random tests Falsifiable (after 3 tests and 3 shrinks): 1 0 [1] expected 2 but got 1
I think haskell random tests are a bit flaky, I constantly get weird results like [1,-1] expected 1 bu got 0, [0] expected -1 bu got 0 et cetera...
[1,-1] expected 1 bu got 0
[0] expected -1 bu got 0
C# Author doesn't want you to mutate the array, but never stated that in description. EVEN WORSE, is that it is not tested for in samples cases. A surprise edge case would be one thing, but this is a rule change after submit.
Loading collection data...
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/176.
Please join the discussion to help us identify duplicate kata and retire them.
I think haskell random tests are a bit flaky, I constantly get weird results like
[1,-1] expected 1 bu got 0
,[0] expected -1 bu got 0
et cetera...C# Author doesn't want you to mutate the array, but never stated that in description. EVEN WORSE, is that it is not tested for in samples cases. A surprise edge case would be one thing, but this is a rule change after submit.