laziness, impatience, and hubris | |
PerlMonks |
Re: Theorem proving and Unit testingby sleepingsquirrel (Chaplain) |
on Aug 25, 2004 at 20:24 UTC ( [id://385808]=note: print w/replies, xml ) | Need Help?? |
You might want to take a look at something like QuickCheck to get further inspiration. QuickCheck is a tool for testing Haskell programs automatically. The programmer provides a specification of the program, in the form of properties which functions should satisfy, and QuickCheck then tests that the properties hold in a large number of randomly generated cases. -- All code is 100% tested and functional unless otherwise noted.
In Section
Meditations
|
|