News for hackers. Stuff that matters.
Re:The Failures of "Intro to TDD" by ams6110 on Monday January 27, 2014 @08:01PM (#7134557)
Incidentally for functions like that, if you have an environment that supports a tool like QuickCheck[1], it's a great thing to use. "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."

1: http://www.cse.chalmers.se/~rjmh/QuickCheck/

There are no comments on this comment yet.