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

Comparing trunk/OOPSE-3.0/test/math/VectorTestCase.hpp (file contents):
Revision 1588 by tim, Mon Oct 18 05:23:47 2004 UTC vs.
Revision 1594 by tim, Mon Oct 18 23:13:23 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(testOtherTemplateFunctions);
17      CPPUNIT_TEST_SUITE_END();
18  
19      public:
20          virtual void setUp();
27        virtual void tearDown();
21  
22 +        void testConstructors();
23 +        void testArithmetic();
24 +        void testOperators();
25 +        void testAccessEntries();
26 +        void testOtherTemplateFunctions();
27 +
28 +    private:
29 +        Vec4 zero;
30 +        Vec4 one;
31 +        Vec4 two;
32 +        Vec4 v1;
33 +        Vec4 v2;
34 +        Vec4 v3;
35 +
36 +        double s1;
37 +        double s2;
38          
39 +  
40   };
41  
42   #endif //TEST_VECTORTESTCASE_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines