diff --git a/lwrserv/test/test_vec.cpp b/lwrserv/test/test_vec.cpp new file mode 100644 index 0000000..6ae6b41 --- /dev/null +++ b/lwrserv/test/test_vec.cpp @@ -0,0 +1,72 @@ +#include "CppUTest/TestHarness.h" +#include "CppUTest/TestRegistry.h" +#include "CppUTest/TestOutput.h" +#include "CppUTest/TestTestingFixture.h" + +#include "vec.h" + +#define TESTSIZE 4 + +TEST_GROUP(Vector) +{ + void setup() + { + } + + void teardown() + { + } +}; +TEST(Vector, set) +{ + Vec a ; + Vec b ; + + for (int x = 0; x a ; + + for (int x = 0; x b = a; + for (int x = 0; x a ; + for (int x = 0; x