Ejemplo n.º 1
0
        public void Move_Down(string commands, string expectedOutput)
        {
            var marsRover = new MarsRover();

            var output = marsRover.Execute(commands);

            Assert.AreEqual(expectedOutput, output);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }