PKHeX/Tests/PKHeX.Core.Tests/General/MarshalTests.cs
2021-08-20 19:52:31 -07:00

21 lines
449 B
C#

using FluentAssertions;
using PKHeX.Core;
using Xunit;
namespace PKHeX.Tests.General
{
public class MarshalTests
{
[Fact]
public void MarshalStructure()
{
new DecorationInventory3().ToBytes().Length.Should().Be(DecorationInventory3.SIZE);
}
[Fact]
public void MarshalClass()
{
new Swarm3().ToBytesClass().Length.Should().Be(Swarm3.SIZE);
}
}
}