public void Get_Turn_Left_For_L() { IRoverCommand command = CommandHelper.RoverCommandFactory("L"); Assert.AreSame(typeof(TurnLeft), command.GetType()); }
public void Get_Turn_Right_For_R() { IRoverCommand command = CommandHelper.RoverCommandFactory("R"); Assert.AreSame(typeof(TurnRight), command.GetType()); }
public void Get_Move_Forward_For_M() { IRoverCommand command = CommandHelper.RoverCommandFactory("M"); Assert.AreSame(typeof(MoveForward), command.GetType()); }