ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/test/math/Vector3TestCase.hpp
Revision: 1603
Committed: Tue Oct 19 21:28:55 2004 UTC (19 years, 8 months ago) by tim
File size: 918 byte(s)
Log Message:
more bugs get fixed at math library

File Contents

# User Rev Content
1 tim 1593 #ifndef TEST_VECTOR3TESTCASE_HPP
2     #define TEST_VECTOR3TESTCASE_HPP
3    
4     #include <cppunit/extensions/HelperMacros.h>
5     #include "math/Vector3.hpp"
6    
7     using namespace oopse;
8    
9     class Vector3TestCase : public CPPUNIT_NS::TestFixture {
10     CPPUNIT_TEST_SUITE( Vector3TestCase );
11     CPPUNIT_TEST(testConstructors);
12     CPPUNIT_TEST(testArithmetic);
13 tim 1603 CPPUNIT_TEST(testOperators);
14 tim 1593 CPPUNIT_TEST(testAccessEntries);
15     CPPUNIT_TEST(testOtherTemplateFunctions);
16     CPPUNIT_TEST_SUITE_END();
17    
18     public:
19     virtual void setUp();
20     virtual void tearDown();
21     void testConstructors();
22     void testArithmetic();
23     void testOperators();
24     void testAccessEntries();
25     void testOtherTemplateFunctions();
26 tim 1595 private:
27     Vector3d zero;
28     Vector3d one;
29     Vector3d two;
30     Vector3d v1;
31     Vector3d v2;
32     Vector3d v3;
33 tim 1593 };
34    
35     #endif //TEST_VECTO3RTESTCASE_HPP