public void Go_Should_Kill_Rover_If_It_Goes_Off_South_Edge_Plateau() { sut = new Rover(10, 0, "S", "M", 10, 10); sut.Go(); string result = sut.CurrentPosition(); Assert.AreEqual("DEAD", result); }
public void Go_Should_Not_Throw_When_Lower_Case_Input_Given() { sut = new Rover(5, 5, "n", "LrM", 10, 10); sut.Go(); }
public void Rover_Stays_Dead_Even_If_Instructions_Bring_It_Back_On_To_Plateau() { sut = new Rover(10, 10, "N", "MLLM", 10, 10); sut.Go(); string result = sut.CurrentPosition(); Assert.AreEqual("DEAD", result); }