mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-21 01:43:10 +00:00
a98ca2351d
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
22 lines
No EOL
444 B
C#
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();
|
|
}
|
|
}
|
|
} |