CppUnit project page FAQ CppUnit home page

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TestAssert.cpp File Reference

#include <math.h>
#include <cppunit/TestAssert.h>

Functions

CPPUNIT_NS_BEGIN void assertDoubleEquals (double expected, double actual, double delta, SourceLine sourceLine)
 (Implementation) Asserts that two double are equals given a tolerance. Use CPPUNIT_ASSERT_DOUBLES_EQUAL instead of this function.


Function Documentation

CPPUNIT_NS_BEGIN void assertDoubleEquals double  expected,
double  actual,
double  delta,
SourceLine  sourceLine
 

(Implementation) Asserts that two double are equals given a tolerance. Use CPPUNIT_ASSERT_DOUBLES_EQUAL instead of this function.

See also:
Asserter::failNotEqual().


SourceForge Logo hosts this site. Send comments to:
CppUnit Developers