public void Rover2FalseOutput() { string actualOutpu = "5 1 E"; Plateau plateau = new Plateau(new Position(5, 5)); Rover Rover = new Rover(plateau, new Position(3, 1), Directions.E); Rover.Process("MMRMMRMRRM"); string expectedOutpu = Rover.CurrentLocation(); Assert.NotEqual(expectedOutpu, actualOutpu); }
public void Rover1FalseOutput() { string actualOutpu = "1 3 N"; Plateau plateau = new Plateau(new Position(5, 5)); Rover Rover = new Rover(plateau, new Position(1, 2), Directions.N); Rover.Process("LRLRLMRMR"); string expectedOutpu = Rover.CurrentLocation(); Assert.NotEqual(expectedOutpu, actualOutpu); }