예제 #1
0
 public void TestMarsRoverInitializationAtZeroZero()
 {
     var rover = new Rover(new Point(0,0), 'N', planet);
     var driver = new RoverDriver(rover);
     Assert.That(driver.GetRoverPosition(), Is.EqualTo("0,0"));
 }
예제 #2
0
 public void TestMarsRoverInitializationAtFourFour()
 {
     var rover = new Rover(new Point(4,4), 'N', planet);
     var driver = new RoverDriver(rover);
     Assert.That(driver.GetRoverPosition(), Is.EqualTo("4,4"));
 }