Skip to content

Commit 5ed4041

Browse files
committed
Add SimpleInit runner test
1 parent 7b8bd4d commit 5ed4041

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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 *, 2> argv = {const_cast<char *>("test"), nullptr};
10+
EXPECT_EQ(ppc::runners::SimpleInit(argc, argv.data()), 0);
11+
}

0 commit comments

Comments
 (0)