CppUnit project page | FAQ |
Traits used by CPPUNIT_ASSERT_DOUBLES_EQUAL(). More...
#include <TestAssert.h>
Static Public Member Functions | |
static bool | equal (double x, double y) |
static std::string | toString (double x) |
Traits used by CPPUNIT_ASSERT_DOUBLES_EQUAL().
This specialisation from struct
assertion_traits<>
ensures that doubles are converted in full, instead of being rounded to the default 6 digits of precision. Use the system defined ISO C99 macro DBL_DIG within float.h is available to define the maximum precision, otherwise use the hard-coded maximum precision of 15.
|
inlinestatic |
|
inlinestatic |
Send comments to: CppUnit Developers |