Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-30 14:56:36

Jens Seidel <jensseidel <at>> writes:

> On Tue, Oct 30, 2007 at 10:03:41AM -0000, John Maddock wrote:
> > Is there a way to check if the last BOOST_CHECK_CLOSE passed or failed?
> >
> > I need to print out some additional information if it failed so I can
> > down which test case it was (the checks are in a loop that iterates over a
> > table of data).
> In this case you should probably change the test. To be honest I have
> the same problem that I need something similar to
> BOOST_CHECK_EQUAL_COLLECTIONS which checks a range and creates
> compressed output. I tried using custom predicate support
> but it is complicated ...

What problems do you have? Don;t use the page above. Try one unser and let me know if you still having
problems (or docs are not clear enough).

> Using BOOST_CHECK_CLOSE in a loop sounds just wrong to me.

Hmm. What specifically is wrong with it?


Boost list run by bdawes at, gregod at, cpdaniel at, john at