ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/test/math/RectMatrixTestCase.hpp
(Generate patch)

Comparing trunk/test/math/RectMatrixTestCase.hpp (file contents):
Revision 72 by tim, Wed Oct 13 22:27:58 2004 UTC vs.
Revision 103 by tim, Tue Oct 19 04:28:15 2004 UTC

# Line 12 | Line 12 | typedef RectMatrix<double, 3, 2> RMat3x2;
12   typedef RectMatrix<double, 2, 2> RMat2x2;
13   typedef RectMatrix<double, 2, 3> RMat2x3;
14   typedef RectMatrix<double, 3, 2> RMat3x2;
15 + typedef RectMatrix<double, 3, 3> RMat3x3;
16 + typedef RectMatrix<double, 3, 4> RMat3x4;
17  
18 + typedef Vector<double, 3> Vec3;
19 +
20   class RectMatrixTestCase : public CPPUNIT_NS::TestFixture {
21      CPPUNIT_TEST_SUITE( RectMatrixTestCase );
22      CPPUNIT_TEST(testConstructor);
# Line 22 | Line 26 | class RectMatrixTestCase : public CPPUNIT_NS::TestFixt
26      CPPUNIT_TEST(testMul);
27      CPPUNIT_TEST(testDiv);
28      CPPUNIT_TEST(testAccessEntries);
29 <    CPPUNIT_TEST(testTranspose);
29 >    CPPUNIT_TEST(testRowColOperations);
30 >    CPPUNIT_TEST(testOtherMemberFunctions);
31      CPPUNIT_TEST_SUITE_END();
32  
33      public:
# Line 37 | Line 42 | class RectMatrixTestCase : public CPPUNIT_NS::TestFixt
42          void testMul();
43          void testDiv();
44          void testAccessEntries();
45 <        void testTranspose();
45 >        void testRowColOperations();
46 >        void testOtherMemberFunctions();
47  
48      private:
49          RMat2x2 m1;
# Line 48 | Line 54 | class RectMatrixTestCase : public CPPUNIT_NS::TestFixt
54          RMat2x2 one;
55          RMat2x2 two;
56          
51        
57          RMat2x3 a;
58          RMat3x2 b;
59 +        RMat2x2 c;
60 +        
61 +        RMat3x3 d;
62 +        RMat3x3 e;
63 +        RMat3x3 f;
64  
65 +        RMat3x3 g;
66 +        RMat3x4 h;
67 +        RMat3x4 i;
68 +
69 +        Vec3 v1;
70 +        Vec3 v2;
71 +
72          double s1;
73  
74          double s2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines