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 |