Ovid wrote: > For white box testing C code, I just use assert(). assert() is ok, but ok() is better. :-) I will prolly roll my own custom ok() macro, so instead of: assert(x==y); I can write: ok(x==y, "test that x equals y"); Writing a lot of tests, I want to be able to easily label each test. (I think I will need an ok() macro rather than a function to get __FILE__ and __LINE__ also for failing tests).
/-\ Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com