mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
* Coverage * added fixes * removed spacing * removed junk * removed print * removed coverage * removed useless stuff * fix --------- Co-authored-by: Saikari <lin@sz.cn.eu.org>
12 lines
344 B
C++
12 lines
344 B
C++
// 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());
|
|
}
|