Closed jonathanknowles closed 2 months ago
💎 why not to produce PR in quickcheck?
I suspect the bar for getting things into QuickCheck is rather high! We'd have to demonstrate that the functions are general enough to have widespread appeal.
And even if we succeed, then we'd have to wait for several months for a new version.
Having said that, I do think that some of the functions in this module could be up-streamed, or separated out into their own library.
Merging manually, since:
cardano-wallet-test-utils
and its test suite.master
.
This PR adds the following generators to
Test.QuickCheck.Extra
:These functions are useful in situations where you have a pre-existing
Set
(orMap
), and you want to generate anotherSet
(orMap
) that is guaranteed to be non-empty and disjoint to the original.Issue
ADP-3272