Add protection tests

This commit is contained in:
Matt Nadareski
2024-12-02 10:38:36 -05:00
parent 477356bd77
commit 1a997679a9
91 changed files with 3082 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
using BinaryObjectScanner.Protection;
using Xunit;
namespace BinaryObjectScanner.Test.Protection
{
public class PSXAntiModchipTests
{
[Fact]
public void CheckContentsTest()
{
string file = "filename";
byte[] fileContent = [0x01, 0x02, 0x03, 0x04];
var checker = new PSXAntiModchip();
string? actual = checker.CheckContents(file, fileContent, includeDebug: true);
Assert.Null(actual);
}
}
}