Files
BinaryObjectScanner/BinaryObjectScanner.Test/Protection/ThreeTwoOneStudiosTests.cs
2024-12-02 10:38:36 -05:00

22 lines
683 B
C#

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