Exemple #1
0
        public void RotateRightReversed()
        {
            var input = "eabcd";

            var output = Problem.RotateLeft(input, 1);

            Assert.Equal("abcde", output);
        }
Exemple #2
0
        public void RotateLeft()
        {
            var input = "abcde";

            var output = Problem.RotateLeft(input, 1);

            Assert.Equal("bcdea", output);
        }