2022-06-18 18:04:24 +00:00
|
|
|
using FluentAssertions;
|
2019-09-23 23:56:47 +00:00
|
|
|
using Xunit;
|
|
|
|
|
2023-01-22 04:02:33 +00:00
|
|
|
namespace PKHeX.Core.Tests.General;
|
2022-06-18 18:04:24 +00:00
|
|
|
|
|
|
|
public class GeneralTests
|
2019-09-23 23:56:47 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
[Fact]
|
|
|
|
public void SWSH_Hypothesis()
|
2019-09-23 23:56:47 +00:00
|
|
|
{
|
2022-10-25 20:24:37 +00:00
|
|
|
GameVersion.SW.Should().Be((GameVersion)44);
|
|
|
|
GameVersion.SH.Should().Be((GameVersion)45);
|
2022-06-18 18:04:24 +00:00
|
|
|
}
|
2019-09-23 23:56:47 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
[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);
|
2022-06-18 18:04:24 +00:00
|
|
|
}
|
2021-11-20 02:23:49 +00:00
|
|
|
|
2022-11-25 01:42:17 +00:00
|
|
|
[Fact]
|
|
|
|
public void SV_Hypothesis()
|
|
|
|
{
|
|
|
|
GameVersion.SL.Should().Be((GameVersion)50);
|
|
|
|
GameVersion.VL.Should().Be((GameVersion)51);
|
|
|
|
}
|
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
[Fact]
|
|
|
|
public void StringsLoad() => GameInfo.GetStrings(GameLanguage.DefaultLanguage);
|
2019-09-23 23:56:47 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
[Fact]
|
|
|
|
public void SourcesLoad() => GameInfo.Strings = GameInfo.GetStrings(GameLanguage.DefaultLanguage);
|
2019-09-23 23:56:47 +00:00
|
|
|
}
|