Tests the functionality of the 2D edge maps.
More...
#include <testCurvedEdges2D.hh>
|
void | do_fail (const string &lbl, const char *fname, long lineno) |
| Internal function to report a failed test (besides increasing the failed counter) More...
|
|
bool | do_numtest (double num, double orig, const string &lbl, const string &lbl2, const char *fname, long lineno, const double tol=1e-10) |
| Internal function to do a numerical test. More...
|
|
bool | do_numtest (std::complex< double > num, std::complex< double > orig, const string &lbl, const string &lbl2, const char *fname, long lineno, const double tol=1e-10) |
|
bool | do_test (bool cond, const string &lbl, const char *fname, long lineno) |
| Internal function to do a test. More...
|
|
|
void | testLine () |
| Tests one point on a straight line. More...
|
|
void | testCircle () |
| Tests one point on a straight line. More...
|
|
void | testCircleFromThreePoints () |
| Tests one point on a straight line. More...
|
|
void | testCircleFromThreePointsSP () |
| Tests one point on a straight line. More...
|
|
void | testEllipse () |
| Tests one point on a straight line. More...
|
|
void | testEllipseAgainstCircle () |
| Tests one point on a straight line. More...
|
|
void | testParabel () |
| Tests one point on a straight line. More...
|
|
void | testParallelLine () |
| Tests one point on a straight line. More...
|
|
void | testParallelCircle () |
| Tests one point on a straight line. More...
|
|
void | testInverseLine () |
| Tests one point on a straight line. More...
|
|
void | testInverseCircle () |
| Tests one point on a straight line. More...
|
|
void | testInverseEllipseAgainstCircle () |
| Tests one point on a straight line. More...
|
|
void | testLine_ (const concepts::MappingEdge2d &edgemap, const Real2d &vtx0, const Real2d &vtx1, Real t, bool inverse=false) |
| Tests one point on a straight line. More...
|
|
void | testCircle_ (const concepts::MappingEdge2d &edge, Real t, bool inverse=false) |
| Tests one point on the particular circular line. More...
|
|
void | testEllipse_ (const concepts::MappingEdge2d &edge, Real t, bool inverse=false) |
| Tests one point on the particular ellipsoidal line. More...
|
|
void | testCircleSP_ (const concepts::MappingEdge2d &edge, Real t, bool inverse=false) |
| Some more special test case for three points determine an circle. More...
|
|
Tests the functionality of the 2D edge maps.
- See also
- concepts::MappingEdge2d
- Author
- Kersten Schmidt, 2006
Definition at line 25 of file testCurvedEdges2D.hh.
◆ ~TestEdgeMaps2D()
virtual test::TestEdgeMaps2D::~TestEdgeMaps2D |
( |
| ) |
|
|
virtual |
◆ _succeed()
void test::TestCase::_succeed |
( |
| ) |
|
|
inlineinherited |
Explicitly succeds a test.
Definition at line 112 of file testcase.hh.
◆ do_fail()
void test::TestCase::do_fail |
( |
const string & |
lbl, |
|
|
const char * |
fname, |
|
|
long |
lineno |
|
) |
| |
|
protectedinherited |
Internal function to report a failed test (besides increasing the failed counter)
◆ do_numtest() [1/2]
bool test::TestCase::do_numtest |
( |
double |
num, |
|
|
double |
orig, |
|
|
const string & |
lbl, |
|
|
const string & |
lbl2, |
|
|
const char * |
fname, |
|
|
long |
lineno, |
|
|
const double |
tol = 1e-10 |
|
) |
| |
|
protectedinherited |
Internal function to do a numerical test.
◆ do_numtest() [2/2]
bool test::TestCase::do_numtest |
( |
std::complex< double > |
num, |
|
|
std::complex< double > |
orig, |
|
|
const string & |
lbl, |
|
|
const string & |
lbl2, |
|
|
const char * |
fname, |
|
|
long |
lineno, |
|
|
const double |
tol = 1e-10 |
|
) |
| |
|
protectedinherited |
◆ do_test()
bool test::TestCase::do_test |
( |
bool |
cond, |
|
|
const string & |
lbl, |
|
|
const char * |
fname, |
|
|
long |
lineno |
|
) |
| |
|
protectedinherited |
Internal function to do a test.
◆ getNumFailed()
long test::TestCase::getNumFailed |
( |
| ) |
const |
|
inlineinherited |
Returns number of failed tests.
Definition at line 105 of file testcase.hh.
◆ getNumPassed()
long test::TestCase::getNumPassed |
( |
| ) |
const |
|
inlineinherited |
Returns number of passed tests.
Definition at line 103 of file testcase.hh.
◆ getStream()
const ostream* test::TestCase::getStream |
( |
| ) |
const |
|
inlineinherited |
◆ report()
long test::TestCase::report |
( |
| ) |
const |
|
inherited |
Prints a report on the number of passed and failed tests to the output stream.
- Returns
- Number of failed tests.
◆ reset()
virtual void test::TestCase::reset |
( |
| ) |
|
|
inlinevirtualinherited |
Resets the counters for the failed and passed tests.
Definition at line 119 of file testcase.hh.
◆ run()
virtual void test::TestEdgeMaps2D::run |
( |
| ) |
|
|
virtual |
Runs the tests. Must be overwritten by the specialization.
Implements test::TestCase.
◆ setStream()
void test::TestCase::setStream |
( |
ostream * |
osptr | ) |
|
|
inlineinherited |
◆ testCircle()
void test::TestEdgeMaps2D::testCircle |
( |
| ) |
|
Tests one point on a straight line.
◆ testCircle_()
Tests one point on the particular circular line.
◆ testCircleFromThreePoints()
void test::TestEdgeMaps2D::testCircleFromThreePoints |
( |
| ) |
|
Tests one point on a straight line.
◆ testCircleFromThreePointsSP()
void test::TestEdgeMaps2D::testCircleFromThreePointsSP |
( |
| ) |
|
Tests one point on a straight line.
◆ testCircleSP_()
Some more special test case for three points determine an circle.
◆ testEllipse()
void test::TestEdgeMaps2D::testEllipse |
( |
| ) |
|
Tests one point on a straight line.
◆ testEllipse_()
Tests one point on the particular ellipsoidal line.
◆ testEllipseAgainstCircle()
void test::TestEdgeMaps2D::testEllipseAgainstCircle |
( |
| ) |
|
Tests one point on a straight line.
◆ testInverseCircle()
void test::TestEdgeMaps2D::testInverseCircle |
( |
| ) |
|
Tests one point on a straight line.
◆ testInverseEllipseAgainstCircle()
void test::TestEdgeMaps2D::testInverseEllipseAgainstCircle |
( |
| ) |
|
Tests one point on a straight line.
◆ testInverseLine()
void test::TestEdgeMaps2D::testInverseLine |
( |
| ) |
|
Tests one point on a straight line.
◆ testLine()
void test::TestEdgeMaps2D::testLine |
( |
| ) |
|
Tests one point on a straight line.
◆ testLine_()
void test::TestEdgeMaps2D::testLine_ |
( |
const concepts::MappingEdge2d & |
edgemap, |
|
|
const Real2d & |
vtx0, |
|
|
const Real2d & |
vtx1, |
|
|
Real |
t, |
|
|
bool |
inverse = false |
|
) |
| |
|
private |
Tests one point on a straight line.
◆ testParabel()
void test::TestEdgeMaps2D::testParabel |
( |
| ) |
|
Tests one point on a straight line.
◆ testParallelCircle()
void test::TestEdgeMaps2D::testParallelCircle |
( |
| ) |
|
Tests one point on a straight line.
◆ testParallelLine()
void test::TestEdgeMaps2D::testParallelLine |
( |
| ) |
|
Tests one point on a straight line.
◆ m_nFail
long test::TestCase::m_nFail |
|
privateinherited |
◆ m_nPass
long test::TestCase::m_nPass |
|
privateinherited |
◆ m_osptr
ostream* test::TestCase::m_osptr |
|
privateinherited |
The documentation for this class was generated from the following file: