#include <utl/Math.h>
#include <utl/MathConstants.h>
#include <utl/BinomialCoefficients.h>
#include <utl/Polynomial.h>
#include <tst/Verify.h>
#include <cppunit/extensions/HelperMacros.h>
Go to the source code of this file.
Classes | |
class | MathTest |
Namespaces | |
std | |
Macros | |
#define | CLOSE(x, y) CPPUNIT_ASSERT(Verify<CloseTo>(x, y)) |
#define | CLOSEEPS(x, y, eps) CPPUNIT_ASSERT(Verify<CloseTo>(x, y, eps)) |
#define | EQUAL(x, y) CPPUNIT_ASSERT(Verify<Equal>(x, y)) |
Functions | |
CPPUNIT_TEST_SUITE_REGISTRATION (MathTest) | |
template<typename T > | |
ostream & | std::operator<< (ostream &os, const vector< T > &v) |
#define CLOSE | ( | x, | |
y | |||
) | CPPUNIT_ASSERT(Verify<CloseTo>(x, y)) |
Definition at line 25 of file testMath.cc.
Referenced by MathTest::TestBinomialCoefficients(), MathTest::TestEvalPoly(), MathTest::TestLambertW(), and MathTest::TestPolynomial().
Definition at line 26 of file testMath.cc.
Referenced by MathTest::TestChi2Probability(), MathTest::TestChi2Probability2(), and MathTest::TestLambertW().
#define EQUAL | ( | x, | |
y | |||
) | CPPUNIT_ASSERT(Verify<Equal>(x, y)) |
Definition at line 24 of file testMath.cc.
Referenced by MathTest::TestBinomialCoefficients(), MathTest::TestLambertW(), MathTest::TestPolynomial(), and MathTest::TestSign().
CPPUNIT_TEST_SUITE_REGISTRATION | ( | MathTest | ) |