* Coverage

* added fixes

* removed spacing

* removed junk

* removed print

* removed coverage

* removed useless stuff

* fix

---------

Co-authored-by: Saikari <lin@sz.cn.eu.org>
This commit is contained in:
2025-12-23 02:47:12 +03:00
committed by GitHub
parent a03620c18f
commit 897484bea1
39 changed files with 2482 additions and 145 deletions

View File

@@ -0,0 +1,11 @@
// Tests for PePatternScanner basic behavior
#include <gtest/gtest.h>
#include <omath/utility/pe_pattern_scan.hpp>
using namespace omath;
TEST(unit_test_pe_pattern_scan_extra, MissingFileReturnsNull)
{
const auto res = PePatternScanner::scan_for_pattern_in_file("/non/existent/file.exe", "55 8B EC");
EXPECT_FALSE(res.has_value());
}