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

Comparing trunk/test/math/VectorTestCase.hpp (file contents):
Revision 95 by tim, Mon Oct 18 05:23:47 2004 UTC vs.
Revision 102 by tim, Tue Oct 19 04:21:07 2004 UTC

# Line 6 | Line 6 | using namespace oopse;
6  
7   using namespace oopse;
8  
9
10 typedef Vector<double, 3> Vec3;
9   typedef Vector<double, 4> Vec4;
10  
11 < class RectMatrixTestCase : public CPPUNIT_NS::TestFixture {
12 <    CPPUNIT_TEST_SUITE( RectMatrixTestCase );
13 <    CPPUNIT_TEST(testConstructor);
14 <    CPPUNIT_TEST(testNegate);
17 <    CPPUNIT_TEST(testAdd);
18 <    CPPUNIT_TEST(testSub);
19 <    CPPUNIT_TEST(testMul);
20 <    CPPUNIT_TEST(testDiv);
11 > class VectorTestCase : public CPPUNIT_NS::TestFixture {
12 >    CPPUNIT_TEST_SUITE( VectorTestCase );
13 >    CPPUNIT_TEST(testConstructors);
14 >    CPPUNIT_TEST(testArithmetic);
15      CPPUNIT_TEST(testAccessEntries);
16 <    CPPUNIT_TEST(testTranspose);
16 >    CPPUNIT_TEST(testOtherMemberFunctions);
17 >    CPPUNIT_TEST(testOtherTemplateFunctions);
18      CPPUNIT_TEST_SUITE_END();
19  
20      public:
21          virtual void setUp();
27        virtual void tearDown();
22  
23 +        void testConstructors();
24 +        void testArithmetic();
25 +        void testOperators();
26 +        void testAccessEntries();
27 +        void testOtherMemberFunctions();
28 +        void testOtherTemplateFunctions();
29 +
30 +    private:
31 +        Vec4 zero;
32 +        Vec4 one;
33 +        Vec4 two;
34 +        Vec4 v1;
35 +        Vec4 v2;
36 +        Vec4 v3;
37 +
38 +        double s1;
39 +        double s2;
40          
41 +  
42   };
43  
44   #endif //TEST_VECTORTESTCASE_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines