Add Sconscript for unit test
[trackerpp.git] / test / test-unittest.cpp
diff --git a/test/test-unittest.cpp b/test/test-unittest.cpp
new file mode 100644 (file)
index 0000000..a7459d6
--- /dev/null
@@ -0,0 +1,12 @@
+#include "test.h"
+#include "gtest/gtest.h"
+
+TEST(FactorialTest, Negative) {
+  // This test is named "Negative", and belongs to the "FactorialTest"
+  // test case.
+  EXPECT_EQ(2, sum(1, 2));
+  //EXPECT_GT(Factorial(-10), 0);
+
+}
+
+