ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/test/math/Vector3TestCase.hpp
Revision: 1390
Committed: Wed Nov 25 20:02:06 2009 UTC (15 years, 5 months ago) by gezelter
File size: 919 byte(s)
Log Message:
Almost all of the changes necessary to create OpenMD out of our old
project (OOPSE-4)

File Contents

# Content
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 OpenMD;
8
9 class Vector3TestCase : public CPPUNIT_NS::TestFixture {
10 CPPUNIT_TEST_SUITE( Vector3TestCase );
11 CPPUNIT_TEST(testConstructors);
12 CPPUNIT_TEST(testArithmetic);
13 CPPUNIT_TEST(testOperators);
14 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 private:
27 Vector3d zero;
28 Vector3d one;
29 Vector3d two;
30 Vector3d v1;
31 Vector3d v2;
32 Vector3d v3;
33 };
34
35 #endif //TEST_VECTO3RTESTCASE_HPP