mirror of
https://github.com/simon987/libmailparse.git
synced 2025-04-10 05:46:44 +00:00
18 lines
261 B
C++
18 lines
261 B
C++
#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();
|
|
}
|