[Haskell-cafe] Quickcheck

graham at fatlazycat.com graham at fatlazycat.com
Mon Nov 12 20:21:06 CET 2012


Hi, 

Trying to find some good docs on QuickCheck, if anyone has one ?

Been scanning what I can find, but a question.

What would be the best way to generate two different/distinct integers ?

Use arbitrary ( if so do you have an example ) or a conditional on the
property.

Though I read the later can reduce passing test count.

Thanks
Graham



More information about the Haskell-Cafe mailing list