> A half-way solution is to have something like: > > BOOST_CHECK_EQUAL_NUMBERS(x,y,IsEqual) > > and let users specify their own Preciates.
There is BOOST_CHECK_PREDICATE > By default, the Test library could provide > a straight-forward ABSOLUTE-ERROR comparator: By default, the Test library provides relative error comparator, which is according to my understanding is more correct. Gennadiy. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost