public void ShouldUnCarmackSimpleData() { var input = new byte[] { 0x08, 0x00, 0x00, 0x20, 0xCD, 0xAB, 0x00, 0x10, 0x00, 0x00 }; var expected = new byte[] { 0x00, 0x20, 0xCD, 0xAB, 0x00, 0x10, 0x00, 0x00 }; var output = Expander.DecompressCarmack(input); output.Should().BeEquivalentTo(expected, "array should have been decompressed."); }