#include <mathTest.h>
Public Member Functions | |
| mathTest () | |
| int | countTestCases () const |
| void | setUp () |
| void | tearDown () |
| void | testConstructor () |
| void | testOperatorAssign () |
| void | testOperatorEqual () |
| void | testOperatorPlus () |
| void | testOperatorMinus () |
Private Member Functions | |
| CPPUNIT_TEST_SUITE (mathTest) | |
| CPPUNIT_TEST (testConstructor) | |
| CPPUNIT_TEST (testOperatorAssign) | |
| CPPUNIT_TEST (testOperatorEqual) | |
| CPPUNIT_TEST (testOperatorPlus) | |
| CPPUNIT_TEST (testOperatorMinus) | |
| CPPUNIT_TEST_SUITE_END () | |
Definition at line 10 of file mathTest.h.
| mathTest< BASECLASS >::CPPUNIT_TEST_SUITE | ( | mathTest< BASECLASS > | ) | [private] |
| mathTest< BASECLASS >::CPPUNIT_TEST | ( | testConstructor | ) | [private] |
| mathTest< BASECLASS >::CPPUNIT_TEST | ( | testOperatorAssign | ) | [private] |
| mathTest< BASECLASS >::CPPUNIT_TEST | ( | testOperatorEqual | ) | [private] |
| mathTest< BASECLASS >::CPPUNIT_TEST | ( | testOperatorPlus | ) | [private] |
| mathTest< BASECLASS >::CPPUNIT_TEST | ( | testOperatorMinus | ) | [private] |
| mathTest< BASECLASS >::CPPUNIT_TEST_SUITE_END | ( | ) | [private] |
| int mathTest< BASECLASS >::countTestCases | ( | ) | const [inline] |
| void mathTest< BASECLASS >::setUp | ( | ) | [inline] |
| void mathTest< BASECLASS >::tearDown | ( | ) | [inline] |
| void mathTest< BASECLASS >::testConstructor | ( | ) | [inline] |
| void mathTest< BASECLASS >::testOperatorAssign | ( | ) | [inline] |
Definition at line 45 of file mathTest.h.
00046 { 00047 vector3 vec, vec2(1,2,3); 00048 vec = vec2; 00049 CPPUNIT_ASSERT( vec == vec2 ); 00050 }
| void mathTest< BASECLASS >::testOperatorEqual | ( | ) | [inline] |
Definition at line 52 of file mathTest.h.
00053 { 00054 vector3 vec(1,2,3); 00055 CPPUNIT_ASSERT( vec[0] == 1 ); 00056 CPPUNIT_ASSERT( vec[1] == 2 ); 00057 CPPUNIT_ASSERT( vec[2] == 3 ); 00058 CPPUNIT_ASSERT( vec == vector3(1,2,3) ); 00059 }
| void mathTest< BASECLASS >::testOperatorPlus | ( | ) | [inline] |
| void mathTest< BASECLASS >::testOperatorMinus | ( | ) | [inline] |
1.5.5