X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=tests%2Fgeometry%2FVectorTest.h;fp=tests%2Fgeometry%2FVectorTest.h;h=e6e2b298296135742ac073b17a7c3500f3c0c223;hb=ef2496b3cb7ce66b7f831278be66261834b732e5;hp=0000000000000000000000000000000000000000;hpb=c5e56f45e08fcc6c4dceb586ce3d671a3f3907ab;p=l2e.git diff --git a/tests/geometry/VectorTest.h b/tests/geometry/VectorTest.h new file mode 100644 index 0000000..e6e2b29 --- /dev/null +++ b/tests/geometry/VectorTest.h @@ -0,0 +1,36 @@ +#ifndef TEST_GEOMETRY_VECTORTEST_H_ +#define TEST_GEOMETRY_VECTORTEST_H_ + +#include "../../src/geometry/Vector.h" + +#include + + +namespace test_geometry { + +class VectorTest +: public CppUnit::TestFixture { + +CPPUNIT_TEST_SUITE(VectorTest); +CPPUNIT_TEST(testComparison); +CPPUNIT_TEST(testSum); +CPPUNIT_TEST(testProduct); +CPPUNIT_TEST(testModulo); +CPPUNIT_TEST(testFunctional); +CPPUNIT_TEST_SUITE_END(); + +public: + void setUp(); + void tearDown(); + + void testComparison(); + void testSum(); + void testProduct(); + void testModulo(); + void testFunctional(); + +}; + +} + +#endif