diff options
author | 2015-09-02 13:49:59 +0200 | |
---|---|---|
committer | 2015-09-02 13:50:20 +0200 | |
commit | 70bddf12f5f92a71022c049fb6b8f4f8672af974 (patch) | |
tree | da554cf16908c6092dcbc4c01598a318520b5384 /tests/main.c | |
parent | a7943aa92f2c78c65c5313980c55357a31697b29 (diff) |
Added GoogleTest and convert tests to us it (nw)
Diffstat (limited to 'tests/main.c')
-rw-r--r-- | tests/main.c | 9 |
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(); } + |