public void RestoreAllTest()
        {
            BaseCreatureState target = new BaseCreatureState(); // TODO: 初始化为适当的值

            target.RestoreAll();
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
        public void OnAddedFriendTest()
        {
            BaseCreatureState target         = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseCreature      creatureFriend = null;                    // TODO: 初始化为适当的值
            BaseCreature      creature       = null;                    // TODO: 初始化为适当的值

            target.OnAddedFriend(creatureFriend, creature);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
        public void OnAddedItemTest()
        {
            BaseCreatureState target   = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseItem          addItem  = null;                    // TODO: 初始化为适当的值
            BaseCreature      creature = null;                    // TODO: 初始化为适当的值

            target.OnAddedItem(addItem, creature);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
        public void OnDiedCallTest()
        {
            BaseCreatureState target         = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseCreature      creatureKiller = null;                    // TODO: 初始化为适当的值
            BaseCreature      creature       = null;                    // TODO: 初始化为适当的值

            target.OnDiedCall(creatureKiller, creature);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
        public void OnRemovedGroupTest()
        {
            BaseCreatureState target        = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseCreature      creatureGroup = null;                    // TODO: 初始化为适当的值
            BaseCreature      creature      = null;                    // TODO: 初始化为适当的值

            target.OnRemovedGroup(creatureGroup, creature);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
        public void OnUpdatedCreatureTemplateTest()
        {
            BaseCreatureState    target           = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseCreatureTemplate creatureTemplate = null;                    // TODO: 初始化为适当的值
            BaseCreature         creature         = null;                    // TODO: 初始化为适当的值

            target.OnUpdatedCreatureTemplate(creatureTemplate, creature);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
        public void OnUpdatedNameTest()
        {
            BaseCreatureState target   = new BaseCreatureState(); // TODO: 初始化为适当的值
            string            strName  = string.Empty;            // TODO: 初始化为适当的值
            BaseCreature      creature = null;                    // TODO: 初始化为适当的值

            target.OnUpdatedName(strName, creature);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
        public void OnUpdatedGoldLootsTest()
        {
            BaseCreatureState target = new BaseCreatureState(); // TODO: 初始化为适当的值

            OneTreasure[] goldLoots = null;                     // TODO: 初始化为适当的值
            BaseCreature  creature  = null;                     // TODO: 初始化为适当的值

            target.OnUpdatedGoldLoots(goldLoots, creature);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
        public void IsUpdateLootsTest()
        {
            BaseCreatureState target = new BaseCreatureState(); // TODO: 初始化为适当的值
            bool expected            = false;                   // TODO: 初始化为适当的值
            bool actual;

            target.IsUpdateLoots = expected;
            actual = target.IsUpdateLoots;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
예제 #10
0
        public void BaseCreatureStateTest()
        {
            PrivateObject         param0   = null;                              // TODO: 初始化为适当的值
            BaseCreature_Accessor target   = new BaseCreature_Accessor(param0); // TODO: 初始化为适当的值
            BaseCreatureState     expected = null;                              // TODO: 初始化为适当的值
            BaseCreatureState     actual;

            target.BaseCreatureState = expected;
            actual = target.BaseCreatureState;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void OnAddingFriendTest()
        {
            BaseCreatureState target         = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseCreature      creatureFriend = null;                    // TODO: 初始化为适当的值
            BaseCreature      creature       = null;                    // TODO: 初始化为适当的值
            bool expected = false;                                      // TODO: 初始化为适当的值
            bool actual;

            actual = target.OnAddingFriend(creatureFriend, creature);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void OnDieingCallTest()
        {
            BaseCreatureState target         = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseCreature      creatureKiller = null;                    // TODO: 初始化为适当的值
            BaseCreature      creature       = null;                    // TODO: 初始化为适当的值
            bool expected = false;                                      // TODO: 初始化为适当的值
            bool actual;

            actual = target.OnDieingCall(creatureKiller, creature);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void OnRemovingGroupTest()
        {
            BaseCreatureState target        = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseCreature      creatureGroup = null;                    // TODO: 初始化为适当的值
            BaseCreature      creature      = null;                    // TODO: 初始化为适当的值
            bool expected = false;                                     // TODO: 初始化为适当的值
            bool actual;

            actual = target.OnRemovingGroup(creatureGroup, creature);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void OnUpdatingCreatureTemplateTest()
        {
            BaseCreatureState    target           = new BaseCreatureState(); // TODO: 初始化为适当的值
            BaseCreatureTemplate creatureTemplate = null;                    // TODO: 初始化为适当的值
            BaseCreature         creature         = null;                    // TODO: 初始化为适当的值
            bool expected = false;                                           // TODO: 初始化为适当的值
            bool actual;

            actual = target.OnUpdatingCreatureTemplate(creatureTemplate, creature);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void OnUpdatingGoldLootsTest()
        {
            BaseCreatureState target = new BaseCreatureState(); // TODO: 初始化为适当的值

            OneTreasure[] goldLoots = null;                     // TODO: 初始化为适当的值
            BaseCreature  creature  = null;                     // TODO: 初始化为适当的值
            bool          expected  = false;                    // TODO: 初始化为适当的值
            bool          actual;

            actual = target.OnUpdatingGoldLoots(goldLoots, creature);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void BaseCreatureStateConstructorTest()
        {
            BaseCreatureState target = new BaseCreatureState();

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }