mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-05 02:09:41 +00:00
723514e89c
Big thanks to @SciresM @sora10pls @Lusamine @architdate @ReignOfComputer for testing and contributing code / test cases. Can't add co-authors from the PR menu :( Builds will fail because azure pipelines not yet updated with net6.
29 lines
733 B
C#
29 lines
733 B
C#
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);
|
|
}
|
|
|
|
[Fact]
|
|
public void BDSP_Hypothesis()
|
|
{
|
|
GameVersion.BD.Should().BeEquivalentTo(48);
|
|
GameVersion.SP.Should().BeEquivalentTo(49);
|
|
}
|
|
|
|
[Fact]
|
|
public void StringsLoad() => GameInfo.GetStrings(GameLanguage.DefaultLanguage);
|
|
|
|
[Fact]
|
|
public void SourcesLoad() => GameInfo.Strings = GameInfo.GetStrings(GameLanguage.DefaultLanguage);
|
|
}
|
|
}
|