public void Move_Cross() { var section = new RangeInt64(2, 3); long loc = 12; var section2 = new RangeInt64(6, 8); long loc2 = 10; var sourceBuf = GetBuffer((int)(BUFFER_SIZE)); var expectedBuf = new byte[] { 0, 1, 4, 5, 9, 6, 7, 8, 10, 11, 2, 3, 12, 13, 14, 15 }; BinaryFileProcessor.Config config = new BinaryFileProcessor.Config(); config.SetMove(section, loc); config.SetMove(section2, loc2); var outputBuf = GetBytes( config, sourceBuf); Assert.Equal(expectedBuf, outputBuf); }