public void CompressTest(string pathBefore, string pathAfter) { string archiveName = basePath + "/zipped.zip"; string resultFolder = basePath + "/result"; Zip zip = new Zip(); zip.CompressFolder(basePath, archiveName); zip.DecompressFolder(archiveName, resultFolder); string before = File.ReadAllText(pathBefore); string after = File.ReadAllText(pathAfter); Assert.AreEqual(before, after); }