コード例 #1
0
        public void Compressorped_File_CanBe_Extracted()
        {
            var file = Compressor.Compress("TestData\\2015 Weekly Calendar.xlsx")
                       .Build();

            DirectoryEx.DeleteDirectories("TestData\\temp\\");
            System.IO.Compression.ZipFile.ExtractToDirectory(file, "TestData\\temp\\");
            File.Exists("TestData\\temp\\2015 Weekly Calendar.xlsx").Should().BeTrue();
        }