Files
BinaryObjectScanner/BinaryObjectScanner.Test/Protection/InterLokTests.cs
Matt Nadareski 5ba78908d7 Update packages
2026-06-12 11:00:13 -04:00

23 lines
666 B
C#

using System.IO;
using BinaryObjectScanner.Protection;
using Xunit;
namespace BinaryObjectScanner.Test.Protection
{
public class InterLokTests
{
[Fact]
public void CheckPortableExecutableTest()
{
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InterLok();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
Assert.Null(actual);
}
}
}