Move ClearEmpty to DatFile

This commit is contained in:
Matt Nadareski
2025-01-14 22:07:05 -05:00
parent 7e2d094ba5
commit 3e839e1249
5 changed files with 136 additions and 102 deletions

View File

@@ -61,17 +61,6 @@ namespace SabreTools.Test.DatFiles
Assert.Equal(expected, dict.SortedKeys.Length);
}
[Fact]
public void ClearEmptyTest()
{
// Setup the dictionary
var dict = new ItemDictionary();
dict.AddItem("game-1", new Rom());
dict.ClearEmpty();
Assert.Single(dict.SortedKeys);
}
[Fact]
public void ClearMarkedTest()
{