We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f499dc7 commit 3cee7a3Copy full SHA for 3cee7a3
modules/runners/tests/test_runners.cpp
@@ -0,0 +1,12 @@
1
+#include <gtest/gtest.h>
2
+
3
+#include <array>
4
5
+#include "runners/include/runners.hpp"
6
7
+TEST(RunnersTest, SimpleInit) {
8
+ int argc = 1;
9
+ std::array<char, 5> test_name = {"test"};
10
+ std::array<char *, 2> argv = {test_name.data(), nullptr};
11
+ EXPECT_EQ(ppc::runners::SimpleInit(argc, argv.data()), 0);
12
+}
0 commit comments