public void Update_NoPatrolInterface_Failed() { var goal = new PatrolPointsGoal(new GameObject(), _params); goal.Initialise(); Assert.AreEqual(EGoalStatus.Failed, goal.Update(1.0f)); }
public void Update_PatrolInterface_InProgress() { var goal = new PatrolPointsGoal(_patrol.gameObject, _params); goal.Initialise(); Assert.AreEqual(EGoalStatus.InProgress, goal.Update(1.0f)); }