public void AssertThat_BlockStoreRead_ReadsZeroForNullBlock() { using (var str = _store.Read(24)) { byte[] bytes = new byte[_store.BlockSize]; str.Read(bytes, 0, _store.BlockSize); foreach (byte byt in bytes) { Assert.AreEqual(0, byt); } } }
public void AssertThat_BlockStoreRead_ReadsZeroForNullBlock() { using (var str = _store.Read(24)) { byte[] bytes = new byte[_store.BlockSize]; str.Read(bytes, 0, _store.BlockSize); foreach (byte byt in bytes) { Assert.AreEqual(0, byt); } } }