Open jmid opened 1 year ago
I noticed that QCheck.Shrink is missing a bool combinator.
bool
This should be probably shrink true to false like QCheck2: https://github.com/c-cube/qcheck/blob/dd5feb49be06b585b943037e7a6c218d9cb7fb49/src/core/QCheck2.ml#L313-L317
true
false
Finally the bool arbitrary could be extended to use it.
bool arbitrary
:+1: I noticed the same thing last week :)
I noticed that QCheck.Shrink is missing a
bool
combinator.This should be probably shrink
true
tofalse
like QCheck2: https://github.com/c-cube/qcheck/blob/dd5feb49be06b585b943037e7a6c218d9cb7fb49/src/core/QCheck2.ml#L313-L317Finally the
bool arbitrary
could be extended to use it.