On 1/6/11 3:57 AM, bearophile wrote:
Andrei:

One more thing. Since assert() is available and useful outside
unittests, I don't see a reason for which assertPred and friends should
only be available during unittesting. I can sure use them in regular code.

I guess assertPred creates statistics to be printed at the end of the 
unittests? I don't think mixing the two groups of things is good.

The printed stats could be wrapped in version(unittest).

Andrei

Reply via email to