PKHeX/Tests/PKHeX.Core.Tests/General/GeneralTests.cs

35 lines
805 B
C#
Raw Normal View History

using FluentAssertions;
using Xunit;
namespace PKHeX.Core.Tests.General;
public class GeneralTests
{
[Fact]
public void SWSH_Hypothesis()
{
2022-10-25 20:24:37 +00:00
GameVersion.SW.Should().Be((GameVersion)44);
GameVersion.SH.Should().Be((GameVersion)45);
}
[Fact]
public void BDSP_Hypothesis()
{
2022-10-25 20:24:37 +00:00
GameVersion.BD.Should().Be((GameVersion)48);
GameVersion.SP.Should().Be((GameVersion)49);
}
[Fact]
public void SV_Hypothesis()
{
GameVersion.SL.Should().Be((GameVersion)50);
GameVersion.VL.Should().Be((GameVersion)51);
}
[Fact]
public void StringsLoad() => GameInfo.GetStrings(GameLanguage.DefaultLanguage);
[Fact]
public void SourcesLoad() => GameInfo.Strings = GameInfo.GetStrings(GameLanguage.DefaultLanguage);
}