PKHeX/Tests/PKHeX.Core.Tests/Util/DataUtilTests.cs
Kurt 166f8d82e5 Misc clean
Refactor out some logic, make "en" literals reference one spot (where
appropriate)
2020-01-01 19:07:21 -08:00

23 lines
598 B
C#

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);
}
}
}