#include <iostream>
#include <cmath>
#include <utl/RK4ODEIntegrator.h>
#include <utl/RK5ODEIntegrator.h>
#include <utl/SVector.h>
#include <tst/Verify.h>
#include <cppunit/extensions/HelperMacros.h>
Go to the source code of this file.
Classes | |
class | HarmonicOscillator |
class | TestODEIntegrator |
Macros | |
#define | ASSERT_CLOSE(x, y) CPPUNIT_ASSERT(Verify<CloseTo>(x, y)) |
#define | ASSERT_CLOSE_EPS(x, y, eps) CPPUNIT_ASSERT(Verify<CloseTo>(x, y, eps)) |
#define | ASSERT_EQUAL(x, y) CPPUNIT_ASSERT(Verify<Equal>(x, y)) |
Functions | |
CPPUNIT_TEST_SUITE_REGISTRATION (TestODEIntegrator) | |
Test Ordinary Differential Equation Integrator classes
Definition in file testODEIntegrator.cc.
#define ASSERT_CLOSE | ( | x, | |
y | |||
) | CPPUNIT_ASSERT(Verify<CloseTo>(x, y)) |
Definition at line 25 of file testODEIntegrator.cc.
Referenced by TestODEIntegrator::TestRK4(), TestODEIntegrator::TestRK4SVector(), TestODEIntegrator::TestRK5(), and TestODEIntegrator::TestRK5SVector().
Definition at line 26 of file testODEIntegrator.cc.
Referenced by TestODEIntegrator::TestAdaptiveRK5(), TestODEIntegrator::TestRK4(), TestODEIntegrator::TestRK4SVector(), TestODEIntegrator::TestRK5(), and TestODEIntegrator::TestRK5SVector().
#define ASSERT_EQUAL | ( | x, | |
y | |||
) | CPPUNIT_ASSERT(Verify<Equal>(x, y)) |
Definition at line 27 of file testODEIntegrator.cc.
CPPUNIT_TEST_SUITE_REGISTRATION | ( | TestODEIntegrator | ) |