2024-08-18 12:22:50 +00:00
|
|
|
using PkmnLib.Dataloader;
|
|
|
|
|
|
|
|
namespace PkmnLib.Tests.Dataloader;
|
|
|
|
|
|
|
|
public class AbilityDataLoaderTests
|
|
|
|
{
|
|
|
|
[Test]
|
2024-12-27 13:30:22 +00:00
|
|
|
public async Task TestPrimaryAbilityFile()
|
2024-08-18 12:22:50 +00:00
|
|
|
{
|
|
|
|
using var stream = File.OpenRead("Data/Abilities.json");
|
|
|
|
var library = AbilityDataLoader.LoadAbilities(stream);
|
2024-12-27 13:30:22 +00:00
|
|
|
await Assert.That(library).IsNotNull();
|
2024-08-18 12:22:50 +00:00
|
|
|
}
|
|
|
|
}
|