public void ReversePositions_ReturnsString_WithGivenSections_Reversed(string instruction, string input, string expected) { var actual = new ReversePositionsRule().Scramble(input, instruction); Assert.Equal(expected, actual); }
public void Descramble_Reverses_Reversal(string instruction, string input, string expected) { var actual = new ReversePositionsRule().Descramble(input, instruction); Assert.Equal(expected, actual); }