Boost logo

Boost Users :

Subject: Re: [Boost-users] Is boost test thread-safe?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-05-31 00:15:10


edA-qa mort-ora-y <eda-qa <at> disemia.com> writes:

> However, certain things like CHECK_CLOSE I couldn't figure out. I found
> the "is_close" static instance but couldn't get it working correctly.

There is check_is_close and it's being invoked like this:

check_is_close( d1, d2, tolerance )

and it returns predicate_result, which you can query if check was successful.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net