| 1 |
#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 |
CPPUNIT_TEST(testAccessEntries); |
| 14 |
CPPUNIT_TEST(testOtherTemplateFunctions); |
| 15 |
CPPUNIT_TEST_SUITE_END(); |
| 16 |
|
| 17 |
public: |
| 18 |
virtual void setUp(); |
| 19 |
virtual void tearDown(); |
| 20 |
void testConstructors(); |
| 21 |
void testArithmetic(); |
| 22 |
void testOperators(); |
| 23 |
void testAccessEntries(); |
| 24 |
void testOtherTemplateFunctions(); |
| 25 |
}; |
| 26 |
|
| 27 |
#endif //TEST_VECTO3RTESTCASE_HPP |