Beispiel #1
0
        public void Update_InitialisedAndDelayPassed_Completed()
        {
            var goal = new DelayGoal(null, 1.0f);

            goal.Initialise();
            Assert.AreEqual(EGoalStatus.InProgress, goal.Update(0.0f));
        }
Beispiel #2
0
        public void Update_Terminated_Inactive()
        {
            var goal = new DelayGoal(null, 1.0f);

            goal.Initialise();
            goal.Terminate();
            Assert.AreEqual(EGoalStatus.Inactive, goal.Update(0.0f));
        }