summaryrefslogtreecommitdiffstatshomepage
path: root/tests/main.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-09-02 13:49:59 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-09-02 13:50:20 +0200
commit70bddf12f5f92a71022c049fb6b8f4f8672af974 (patch)
treeda554cf16908c6092dcbc4c01598a318520b5384 /tests/main.c
parenta7943aa92f2c78c65c5313980c55357a31697b29 (diff)
Added GoogleTest and convert tests to us it (nw)
Diffstat (limited to 'tests/main.c')
-rw-r--r--tests/main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/main.c b/tests/main.c
index d6bed4aeb67..a3ba19293f9 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -1,9 +1,12 @@
// license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
-#include "UnitTest++/UnitTest++.h"
+#include <stdio.h>
+#include "gtest/gtest.h"
-int main(int, char const *[])
+int main(int argc, char **argv)
{
- return UnitTest::RunAllTests();
+ testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
}
+