public void CanDeleteSubfolder()
    {
        using var archive = new TroikaArchive(TestData.GetPath("Core/IO/TroikaArchives/test.dat"));

        // Now mark the entire subfolder as deleted
        archive.SetDeleted("subfolder");

        archive.DirectoryExists("subfolder").Should().BeFalse();
        archive.FileExists("subfolder/TEST.txt").Should().BeFalse();
        archive.ListDirectory("subfolder").Should().BeEmpty();
        ReadAscii(archive, "subfolder/TEST.txt").Should().BeNull();
    }
 public void FindEntryInEmptyArchiveWorks()
 {
     using var archive = new TroikaArchive(TestData.GetPath("Core/IO/TroikaArchives/empty.dat"));
     archive.FileExists("art/some-file.txt").Should().BeFalse();
     archive.DirectoryExists("art/some-dir").Should().BeFalse();
 }