Initial commit

This commit is contained in:
2021-01-02 09:13:57 -05:00
parent 3393e181d9
commit ddac1a0f50
5 changed files with 68 additions and 0 deletions

17
test/main.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include <gtest/gtest.h>
extern "C" {
#include "../src/library.h"
}
TEST(PlaceHolderTest, Test1) {
int ret = hello();
ASSERT_EQ(ret, 12);
}
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}