ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/test/math/VectorTestCase.hpp
Revision: 1588
Committed: Mon Oct 18 05:23:47 2004 UTC (19 years, 8 months ago) by tim
File size: 732 byte(s)
Log Message:
adding  vector test case

File Contents

# Content
1 #ifndef TEST_VECTORTESTCASE_HPP
2 #define TEST_VECTORTESTCASE_HPP
3
4 #include <cppunit/extensions/HelperMacros.h>
5 #include "math/Vector.hpp"
6
7 using namespace oopse;
8
9
10 typedef Vector<double, 3> Vec3;
11 typedef Vector<double, 4> Vec4;
12
13 class RectMatrixTestCase : public CPPUNIT_NS::TestFixture {
14 CPPUNIT_TEST_SUITE( RectMatrixTestCase );
15 CPPUNIT_TEST(testConstructor);
16 CPPUNIT_TEST(testNegate);
17 CPPUNIT_TEST(testAdd);
18 CPPUNIT_TEST(testSub);
19 CPPUNIT_TEST(testMul);
20 CPPUNIT_TEST(testDiv);
21 CPPUNIT_TEST(testAccessEntries);
22 CPPUNIT_TEST(testTranspose);
23 CPPUNIT_TEST_SUITE_END();
24
25 public:
26 virtual void setUp();
27 virtual void tearDown();
28
29
30 };
31
32 #endif //TEST_VECTORTESTCASE_HPP