public void BinaryWriteOnlyStorer_DeflateOneFile_BinaryOneEntry() { BinaryWriteOnlyStorer storer = new BinaryWriteOnlyStorer(true); storer.Add(filePath1, fileData); Assert.True(binaryOneFileDeflate.SequenceEqual(storer.Close())); }
public void BinaryWriteOnlyStorer_StoreTwoFiles_BinaryTwoEntry() { BinaryWriteOnlyStorer storer = new BinaryWriteOnlyStorer(false); storer.Add(filePath1, fileData); storer.Add(filePath2, fileData); Assert.True(binaryTwoFilesStore.SequenceEqual(storer.Close())); }
public void BinaryWriteOnlyStorer_DeflateNoEntries_Empty() { BinaryWriteOnlyStorer storer = new BinaryWriteOnlyStorer(true); Assert.True((new byte[0]).SequenceEqual(storer.Close())); }