Esempio n. 1
0
        public void RotateLeft_ReturnsString_RotatedGivenPositions(string instruction, string input, string expected)
        {
            var actual = new RotateLeftRule().Scramble(input, instruction);

            Assert.Equal(expected, actual);
        }
Esempio n. 2
0
        public void Descramble_Reverses_RotateLeft(string instruction, string input, string expected)
        {
            var actual = new RotateLeftRule().Descramble(input, instruction);

            Assert.Equal(expected, actual);
        }