[Haskell-cafe] quickCheck problem

Roelof Wobben r.wobben at home.nl
Tue Oct 6 20:24:03 UTC 2015


Hello,

I have written a function to test if three numbers are the same.

Now I want to test my functions by using quickCheck.

So I thought to test first if all three are the same.

but how can I tell quickcheck that all numbers are the same.

and second question :  hwo do the test likeif two numbers are the same.

I ask this because I try to solve a exercise of the programming Haskell 
book,
IM have read chapter 3 now.

Roelof



More information about the Haskell-Cafe mailing list