Boost logo

Boost :

From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2003-07-07 16:54:28


> 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk