Example #1
0
        public void Move_Down(string commands, string expectedOutput)
        {
            var marsRover = new MarsRover();

            var output = marsRover.Execute(commands);

            Assert.AreEqual(expectedOutput, output);
        }
Example #2
0
        public void Wrap_From_Bottom_To_Up_When_Moving_South(string commands, string expectedOutput)
        {
            var marsRover = new MarsRover();

            var output = marsRover.Execute(commands);

            Assert.AreEqual(expectedOutput, output);
        }
Example #3
0
        public void Wrap_From_Right_To_Left_When_Moving_East(string commands, string expectedOutput)
        {
            var marsRover = new MarsRover();

            var output = marsRover.Execute(commands);

            Assert.AreEqual(expectedOutput, output);
        }