mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-19 17:03:12 +00:00
166f8d82e5
Refactor out some logic, make "en" literals reference one spot (where appropriate)
23 lines
598 B
C#
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);
|
|
}
|
|
}
|
|
}
|