public void Rover_Starts_With_Initial_Starting_Point() { var expectedPoint = Tuple.Create(0, 0); var sut = new Rover(); Assert.Equal(sut.Point(), expectedPoint); }
public void Rover_Implements_Command_To_Move_Backward() { var backwardCommand = new[] { 'b' }; var expectedPoint = Tuple.Create(0, -1); var sut = new Rover(); sut.AddCommands(backwardCommand); sut.executeCommands(); Assert.Equal(sut.Point(), expectedPoint); }