mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 08:23:12 +00:00
304203262d
remove hardcoded 810 in unit test, add ability test too
23 lines
550 B
C#
23 lines
550 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("en");
|
|
names.Length.Should().Be((int)Species.MAX_COUNT);
|
|
}
|
|
|
|
[Fact]
|
|
public void GetsCorrectNumberOfAbilityNames()
|
|
{
|
|
var names = Core.Util.GetAbilitiesList("en");
|
|
names.Length.Should().Be((int)Ability.MAX_COUNT);
|
|
}
|
|
}
|
|
}
|