
10 Sep
2010
10 Sep
'10
12:33 a.m.
Torri, Stephen CIV NSWCDD, W15 <stephen.torri <at> navy.mil> writes:
BOOST_CHECK_LE ( fabs ( a - b ), tolerance );
Use BOOST_CHECK_SMALL( a-b, tolerance ). That said I really recommend you to use assertions based on relative errors, since they give more reliable results. Gennadiy