summaryrefslogtreecommitdiff
path: root/test/gtest_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtest_main.cpp')
-rw-r--r--test/gtest_main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/gtest_main.cpp b/test/gtest_main.cpp
new file mode 100644
index 0000000..8fb5f51
--- /dev/null
+++ b/test/gtest_main.cpp
@@ -0,0 +1,14 @@
+#include <gtest/gtest.h>
+
+
+TEST(EQ_Test, Always_True) {
+ EXPECT_EQ(1, 1);
+}
+
+int main(int argc, char ** argv)
+{
+ int ret=0;
+ ::testing::InitGoogleTest(&argc, argv);
+ ret=RUN_ALL_TESTS();
+ return ret;
+} \ No newline at end of file