|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-02-10 15:27:28
At 04:56 PM 2/9/2002, vesa_karvonen wrote:
>Whoever fixes this should make sure that a regression test is added
>to test self division. These kind of things are likely to be broken
>by "optimizations" or "simplifications" accidentaly.
As Vesa is pointing out, the rule for quality software should be:
1) Add the regression test case to detect the problem.
2) Run the test (to make sure the bug really is detected.)
3) Fix the bug.
4) Run the test (to make sure the bug really got fixed.)
It is a bit laborious for simple bugs; but it really pays huge dividends
over the long run.
Thanks for mentioning it.
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk