Boost logo

Boost :

Subject: Re: [boost] boost-test, why is there no DOUBLES_EQUAL?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-03-29 13:19:35


Sebastian Nowozin <nowozin <at> gmail.com> writes:

>
> Hello,
>
> I am a regular user of the boost test library, having used CPPunit
> before. I miss the following macro:
>
> BOOST_CHECK_DOUBLES_EQUAL(first, second, absolute_tolerance);

Use BOOST_CHECK_SMALL.

Gennadiy


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