[SCANNER]add hyperscan libs
This commit is contained in:
20
test/maat_api_gtest.cpp
Normal file
20
test/maat_api_gtest.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../include/maat/maat.h"
|
||||
|
||||
TEST(EQ_Test, Always_True) {
|
||||
EXPECT_EQ(1, 1);
|
||||
}
|
||||
|
||||
TEST(maat_api, maat_scan_string) {
|
||||
int ret = maat_scan_string(nullptr, 0, nullptr, nullptr, 0);
|
||||
EXPECT_EQ(ret, 0);
|
||||
}
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
int ret=0;
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
ret=RUN_ALL_TESTS();
|
||||
return ret;
|
||||
}
|
||||
Reference in New Issue
Block a user