[Haskell-cafe] Zero-arity tests in QuickCheck and displaying expected result

Joel Reymont joelr1 at gmail.com
Tue Apr 17 05:02:02 EDT 2007

On Apr 17, 2007, at 9:31 AM, Ketil Malde wrote:

> Prelude Test.QuickCheck> let prop0 = List.sort [3,2,1] == [1,2,3]  
> in quickCheck prop0
> OK, passed 100 tests.

My point is to be able to see that result generated was X and that it  
did not match expected Y, where both X and Y are printed out.


More information about the Haskell-Cafe mailing list