29 Jan
2005
29 Jan
'05
6:52 p.m.
I prefer the symmetry of BOOST_CHECK_EQUAL(obj.fn(), true) BOOST_CHECK_EQUAL(obj.fn(), false) since, at different points I'm expecting true or false. I know there are alternatives.
Why not BOOST_CHECK( obj.fn() ); BOOST_CHECK( !obj.fn() ); I believe it's more natural. Gennadiy