mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-03-21 17:48:28 -05:00
BlankSaveFile -> creation of blank save files SaveFileType -> listing of all savefile types Blank save file arg passing is now clearer Instead of SaveFile? return, use TryGet pattern with nullable annotations to indicate success
21 lines
378 B
C#
21 lines
378 B
C#
using FluentAssertions;
|
|
using Xunit;
|
|
|
|
namespace PKHeX.Core.Tests.Saves;
|
|
|
|
public class SwishCryptoTests
|
|
{
|
|
[Fact]
|
|
public void SizeCheck()
|
|
{
|
|
SCTypeCode.Bool3.GetTypeSize().Should().Be(1);
|
|
}
|
|
|
|
[Fact]
|
|
public void CanMakeBlankSAV8()
|
|
{
|
|
var sav = BlankSaveFile.Get(SaveFileType.SWSH, GameVersion.SW);
|
|
sav.Should().NotBeNull();
|
|
}
|
|
}
|