PKHeX/Tests/PKHeX.Core.Tests/Util/DataUtilTests.cs
Kurt a235cae9e0 Add Move enum, similar to Species/Ability
dash,apostrophe,space => empty
Z Moves have P/S suffixed
10mil volt thunderbolt "TenM"
2021-01-09 13:07:29 -08:00

30 lines
822 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);
}
[Fact]
public void GetsCorrectNumberOfMoveNames()
{
var names = Core.Util.GetMovesList(GameLanguage.DefaultLanguage);
names.Length.Should().Be((int)Move.MAX_COUNT);
}
}
}