public void Update_PatrolInterface_InProgress()
        {
            var goal = new PatrolPointsGoal(_patrol.gameObject, _params);

            goal.Initialise();

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

            goal.Initialise();

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

            goal.Initialise();

            Assert.IsTrue(_patrol.StartPatrollingCalled);
        }
        public void Terminated_StopsPatrolling()
        {
            var goal = new PatrolPointsGoal(_patrol.gameObject, _params);

            goal.Initialise();
            goal.Terminate();

            Assert.IsTrue(_patrol.StopPatrollingCalled);
        }