]> git.localhorst.tv Git - l2e.git/blobdiff - tests/math/VectorTest.h
renamed namespace geometry -> math
[l2e.git] / tests / math / VectorTest.h
diff --git a/tests/math/VectorTest.h b/tests/math/VectorTest.h
new file mode 100644 (file)
index 0000000..fdd2c3a
--- /dev/null
@@ -0,0 +1,36 @@
+#ifndef TEST_MATH_VECTORTEST_H_
+#define TEST_MATH_VECTORTEST_H_
+
+#include "../../src/math/Vector.h"
+
+#include <cppunit/extensions/HelperMacros.h>
+
+
+namespace test_math {
+
+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