2019-09-23 23:56:47 +00:00
|
|
|
|
using FluentAssertions;
|
|
|
|
|
using PKHeX.Core;
|
|
|
|
|
using Xunit;
|
|
|
|
|
|
|
|
|
|
namespace PKHeX.Tests.General
|
|
|
|
|
{
|
|
|
|
|
public class GeneralTests
|
|
|
|
|
{
|
|
|
|
|
[Fact]
|
|
|
|
|
public void SWSH_Hypothesis()
|
|
|
|
|
{
|
|
|
|
|
GameVersion.SW.Should().BeEquivalentTo(44);
|
|
|
|
|
GameVersion.SH.Should().BeEquivalentTo(45);
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-20 02:23:49 +00:00
|
|
|
|
[Fact]
|
|
|
|
|
public void BDSP_Hypothesis()
|
|
|
|
|
{
|
|
|
|
|
GameVersion.BD.Should().BeEquivalentTo(48);
|
|
|
|
|
GameVersion.SP.Should().BeEquivalentTo(49);
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-23 23:56:47 +00:00
|
|
|
|
[Fact]
|
2020-01-02 03:07:21 +00:00
|
|
|
|
public void StringsLoad() => GameInfo.GetStrings(GameLanguage.DefaultLanguage);
|
2019-09-23 23:56:47 +00:00
|
|
|
|
|
|
|
|
|
[Fact]
|
2020-01-02 03:07:21 +00:00
|
|
|
|
public void SourcesLoad() => GameInfo.Strings = GameInfo.GetStrings(GameLanguage.DefaultLanguage);
|
2019-09-23 23:56:47 +00:00
|
|
|
|
}
|
|
|
|
|
}
|