Why can't you just do 'f 1 2 3 == (4, 5, 6, 7)' to test f?

On Apr 16, 2007, at 22:08 , Joel Reymont wrote:


On Apr 16, 2007, at 9:29 PM, Donald Bruce Stewart wrote:

It's interesting to note that QuickCheck generalises unit testing:
zero-arity QC properties are exactly unit tests.

I don't think this works very well. I rely quite heavily on being able to compare expected output with test results and QC does not seem to provide for this feature when tests are zero arity.

Am I missing something?

        Thanks, Joel

--
http://wagerlabs.com/




_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to