diff --git a/BinaryObjectScanner.Test/GameEngine/RenderWareTests.cs b/BinaryObjectScanner.Test/GameEngine/RenderWareTests.cs new file mode 100644 index 00000000..2750e5b0 --- /dev/null +++ b/BinaryObjectScanner.Test/GameEngine/RenderWareTests.cs @@ -0,0 +1,22 @@ +using System.IO; +using BinaryObjectScanner.GameEngine; +using Xunit; + +namespace BinaryObjectScanner.Test.GameEngine +{ + public class RenderWareTests + { + [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 RenderWare(); + string? actual = checker.CheckExecutable(file, pex, includeDebug: false); + Assert.Null(actual); + } + } +} \ No newline at end of file