PKHeX/Tests/PKHeX.Core.Tests/Saves/MemeCrypto/SwishCryptoTests.cs
Kurt a98ca2351d Don't SetValue to block if not exportable
blank saves do not have the type metadata for the blocks that are spoofed, nor do they have all blocks spoofed.

I suspect things might get more difficult as more value-blocks are identified, which would throw a wrench into things. We'll figure that out at that time :)

Add a test to ensure that the blank save can be created correctly

Closes #2644
2020-01-19 10:25:40 -08:00

22 lines
No EOL
444 B
C#

using FluentAssertions;
using PKHeX.Core;
using Xunit;
namespace PKHeX.Tests.Saves
{
public class SwishCryptoTests
{
[Fact]
public void SizeCheck()
{
SCTypeCode.Bool3.GetTypeSize().Should().Be(1);
}
[Fact]
public void CanMakeBlankSAV8()
{
var sav = SaveUtil.GetBlankSAV(GameVersion.SW, "PKHeX");
sav.Should().NotBeNull();
}
}
}