Esempio n. 1
0
        public void RepeatNumMaxCorrect()
        {
            var           filename = TestUtils.GetFilePath(@"Content\ActionRepeatMany.xml");
            BulletPattern pattern  = new BulletPattern();

            pattern.Parse(filename);
            Mover mover = (Mover)TestUtils.Manager.CreateBullet();

            mover.InitTopNode(pattern.RootNode);
            ActionTask testTask = mover.FindTaskByLabel("test") as ActionTask;

            Assert.IsNotNull(testTask);
        }