mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-04 05:35:49 +00:00
20 lines
485 B
C#
20 lines
485 B
C#
using BinaryObjectScanner.Protection;
|
|
using Xunit;
|
|
|
|
namespace BinaryObjectScanner.Test.Protection
|
|
{
|
|
public class KeyLockTests
|
|
{
|
|
[Fact]
|
|
public void CheckContentsTest()
|
|
{
|
|
string file = "filename";
|
|
byte[] fileContent = [0x01, 0x02, 0x03, 0x04];
|
|
|
|
var checker = new KeyLock();
|
|
string? actual = checker.CheckContents(file, fileContent, includeDebug: true);
|
|
Assert.Null(actual);
|
|
}
|
|
}
|
|
}
|