Migrate to TUnit for unit tests

This commit is contained in:
2024-12-27 14:30:22 +01:00
parent 5b518df24a
commit 853d6dd1cb
19 changed files with 158 additions and 184 deletions

View File

@@ -5,10 +5,10 @@ namespace PkmnLib.Tests.Dataloader;
public class ItemDataLoaderTests
{
[Test]
public void TestPrimaryItemFile()
public async Task TestPrimaryItemFile()
{
using var stream = File.OpenRead("Data/Items.json");
var library = ItemDataLoader.LoadItems(stream);
Assert.That(library, Is.Not.Null);
await Assert.That(library).IsNotNull();
}
}