Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-05-31 10:50:43


"Chris Fairles" <chris.fairles_at_[hidden]> wrote in message
news:fac6bb500705310734l20adccxd3c2656306af0a7_at_mail.gmail.com...
> 2) Use check_is_close explicitly and change the default comparison
> type to FPC_WEAK. This means going outside the nice auto-unit-test and
> test-tools framework which although I'm fine with, other programmers
> writing test cases on my team might not be.

You can combine check_is_close with BOOST_CHECK_PREDICATE to get nice test
tools output.

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