Add gtest support

This commit is contained in:
EKR
2013-12-12 10:56:52 +08:00
parent 5449a8a548
commit fb429bbf67
5 changed files with 42 additions and 2 deletions

7
test/simple_test.cpp Normal file
View File

@@ -0,0 +1,7 @@
#include <gtest/gtest.h>
int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}