mirror of
https://github.com/simon987/libmailparse.git
synced 2025-12-15 23:59:04 +00:00
Initial commit
This commit is contained in:
17
test/main.cpp
Normal file
17
test/main.cpp
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user