mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-13 06:02:36 +00:00
e3cafe5cd6
use sizeof for clarity, add test to ensure bool size is 1 byte (which is always true) https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/sizeof
15 lines
No EOL
264 B
C#
15 lines
No EOL
264 B
C#
using FluentAssertions;
|
|
using PKHeX.Core;
|
|
using Xunit;
|
|
|
|
namespace PKHeX.Tests.Saves
|
|
{
|
|
public class SwishCryptoTests
|
|
{
|
|
[Fact]
|
|
public void SizeCheck()
|
|
{
|
|
SCTypeCode.Common3.GetTypeSize().Should().Be(1);
|
|
}
|
|
}
|
|
} |