Implements dataloading
This commit is contained in:
14
PkmnLib.Tests/Dataloader/GrowthRateDataLoaderTests.cs
Normal file
14
PkmnLib.Tests/Dataloader/GrowthRateDataLoaderTests.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user