PKHeX/Tests/PKHeX.Core.Tests/Util/DataUtilTests.cs

31 lines
822 B
C#
Raw Normal View History

using FluentAssertions;
using PKHeX.Core;
using Xunit;
namespace PKHeX.Tests.Util
{
public class DataUtilTests
{
[Fact]
public void GetsCorrectNumberOfSpeciesNames()
{
var names = Core.Util.GetSpeciesList(GameLanguage.DefaultLanguage);
names.Length.Should().Be((int)Species.MAX_COUNT);
}
[Fact]
public void GetsCorrectNumberOfAbilityNames()
{
var names = Core.Util.GetAbilitiesList(GameLanguage.DefaultLanguage);
names.Length.Should().Be((int)Ability.MAX_COUNT);
}
[Fact]
public void GetsCorrectNumberOfMoveNames()
{
var names = Core.Util.GetMovesList(GameLanguage.DefaultLanguage);
names.Length.Should().Be((int)Move.MAX_COUNT);
}
}
}