Implements dataloading

This commit is contained in:
2024-08-18 14:22:50 +02:00
parent 488c717c5a
commit d48889e21a
36 changed files with 105526 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
using PkmnLib.Dataloader;
namespace PkmnLib.Tests.Dataloader;
public class GrowthRateDataLoaderTests
{
[Test]
public void TestPrimaryGrowthRateFile()
{
using var file = File.Open("Data/GrowthRates.json", FileMode.Open);
var library = GrowthRateDataLoader.LoadGrowthRates(file);
Assert.That(library, Is.Not.Null);
}
}