X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=test%2Ftest-unittest.cpp;fp=test%2Ftest-unittest.cpp;h=a7459d6998009967653603147a4ab0cadad4357f;hb=79009fa0674d90e03b7a7bd958f7ee1e20d9b194;hp=0000000000000000000000000000000000000000;hpb=f4ff258d21cf7a785fe5f271f01942fde6d4d1b8;p=trackerpp.git diff --git a/test/test-unittest.cpp b/test/test-unittest.cpp new file mode 100644 index 0000000..a7459d6 --- /dev/null +++ b/test/test-unittest.cpp @@ -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); + +} + +