Пример #1
0
 public void LoadTest()
 {
     var ZipArchive = new ZipArchive();
     ZipArchive.Load(File.OpenRead(Config.ProjectTestInputPath + @"\TestInputMounted.zip"));
     var Text = ZipArchive.Files["CompressedFile.txt"].OpenRead().ReadAllContentsAsString(Encoding.UTF8, false);
     Assert.AreEqual(Text.Substr(-13), "compressible.");
 }