Esempio n. 1
0
        public void Update_InitialisedAndDelayPassed_Completed()
        {
            var goal = new DelayGoal(null, 1.0f);

            goal.Initialise();
            Assert.AreEqual(EGoalStatus.InProgress, goal.Update(0.0f));
        }
Esempio n. 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));
        }