mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
21 lines
449 B
C#
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);
|
|
}
|
|
}
|
|
}
|