public void ShouldReadRequestedRange() { byte[] store = new byte[2]; MemoryBlock block = new MemoryBlock(1024); block.Set(10, 15); block.Set(11, 16); block.GetBytes(10, store, 0, 2); Assert.That(store, Is.EqualTo(new byte[] { 15, 16 })); }