Beispiel #1
0
 public void Test_AddObstacle()
 {
     plateau.AddObstacle(new Coords(0, 2));
     Assert.IsTrue(plateau.GetAllObstacle().Count == 1, "List must contain 1 item");
 }
 public void Test_InvalidInitialPosition()
 {
     plateau.AddObstacle(new Coords(0, 0));
     rover = new Rover(plateau, position, CardinalDirection.North);
 }