NHSE/NHSE.Tests/InjectionTests.cs
Kurt 839e1a3f14 Add unit test for item injection validation
Check the other bind list too

don't bother checking that a bound index actually exists in the item pocket
2020-04-26 18:58:13 -07:00

18 lines
381 B
C#

using FluentAssertions;
using NHSE.Injection;
using Xunit;
namespace NHSE.Tests
{
public static class InjectionTests
{
[Fact]
public static void VerifyItemBinary()
{
var data = Properties.Resources.itempacket;
bool result = PocketInjector.ValidateItemBinary(data);
result.Should().BeTrue();
}
}
}