projects
/
trackerpp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add Sconscript for unit test
[trackerpp.git]
/
test
/
test-unittest.cpp
1
#include "test.h"
2
#include "gtest/gtest.h"
3
4
TEST(FactorialTest, Negative) {
5
// This test is named "Negative", and belongs to the "FactorialTest"
6
// test case.
7
EXPECT_EQ(2, sum(1, 2));
8
//EXPECT_GT(Factorial(-10), 0);
9
10
}
11
12