Closed vbgl closed 2 years ago
Ah, I did not see the use case.
The correct modification should forbid negative counts (and long factors). I fixed the issue in https://github.com/c-cube/qcheck/pull/255
This was an unintended regression. I'll try rolling out a patched 0.19.1 later today or tomorrow.
That was (very) fast! Thank you all.
In
0.19
(since #220), the~count
argument toTest.make
can no longer be zero.Why?
Is this documented?
Using a zero count can be used to disable a test. Real-life use: https://github.com/andrenth/ocaml-stdint/blob/0.7.0/tests/stdint_test.ml#L6