PKHeX/Tests/PKHeX.Core.Tests/General/MarshalTests.cs
Kurt 8bf618008a Remove structconverter
Won't work on bigendian architecture for non-byte fields, so just do it manually.
2022-03-25 19:47:23 -07:00

16 lines
322 B
C#

using System.Runtime.InteropServices;
using FluentAssertions;
using PKHeX.Core;
using Xunit;
namespace PKHeX.Tests.General;
public class MarshalTests
{
[Fact]
public void MarshalSize()
{
Marshal.SizeOf(typeof(NPCLock)).Should().Be(8);
Marshal.SizeOf(typeof(PIDIV)).Should().Be(8);
}
}