--- trunk/test/math/RectMatrixTestCase.hpp 2004/10/13 22:27:58 72 +++ branches/development/test/math/RectMatrixTestCase.hpp 2010/07/09 23:08:25 1465 @@ -5,14 +5,18 @@ #include "math/RectMatrix.hpp" /** - * @namespace oopse + * @namespace OpenMD */ -using namespace oopse; +using namespace OpenMD; typedef RectMatrix RMat2x2; typedef RectMatrix RMat2x3; typedef RectMatrix RMat3x2; +typedef RectMatrix RMat3x3; +typedef RectMatrix RMat3x4; +typedef Vector Vec3; + class RectMatrixTestCase : public CPPUNIT_NS::TestFixture { CPPUNIT_TEST_SUITE( RectMatrixTestCase ); CPPUNIT_TEST(testConstructor); @@ -22,7 +26,8 @@ class RectMatrixTestCase : public CPPUNIT_NS::TestFixt CPPUNIT_TEST(testMul); CPPUNIT_TEST(testDiv); CPPUNIT_TEST(testAccessEntries); - CPPUNIT_TEST(testTranspose); + CPPUNIT_TEST(testRowColOperations); + CPPUNIT_TEST(testOtherMemberFunctions); CPPUNIT_TEST_SUITE_END(); public: @@ -37,7 +42,8 @@ class RectMatrixTestCase : public CPPUNIT_NS::TestFixt void testMul(); void testDiv(); void testAccessEntries(); - void testTranspose(); + void testRowColOperations(); + void testOtherMemberFunctions(); private: RMat2x2 m1; @@ -48,10 +54,21 @@ class RectMatrixTestCase : public CPPUNIT_NS::TestFixt RMat2x2 one; RMat2x2 two; - RMat2x3 a; RMat3x2 b; + RMat2x2 c; + + RMat3x3 d; + RMat3x3 e; + RMat3x3 f; + RMat3x3 g; + RMat3x4 h; + RMat3x4 i; + + Vec3 v1; + Vec3 v2; + double s1; double s2;