Ad
  • Custom User Avatar

    Frankly speaking, I doubt that your code is called with wrong arguments. trace is unreliable here, because of shrinking: after finding [27,15,15] QuickCheck tries to find a smaller counter-example, invoking tests with [27,15,14] and, I suppose, some other combinations. That is why you see [27,15,14] in trace output.

  • Custom User Avatar

    Could you please show full test log? I cannot reproduce the issue. Definitely, lastDigit [7,11,2] should be 7.