public void CreatureLeaveSpaceNodeEventArgsConstructorTest()
 {
     BaseCreature creature = null; // TODO: 初始化为适当的值
     MapSpaceNode mapSpaceNode = null; // TODO: 初始化为适当的值
     CreatureLeaveSpaceNodeEventArgs target = new CreatureLeaveSpaceNodeEventArgs( creature, mapSpaceNode );
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }
示例#2
0
        public void CreatureLeaveSpaceNodeEventArgsConstructorTest()
        {
            BaseCreature creature     = null; // TODO: 初始化为适当的值
            MapSpaceNode mapSpaceNode = null; // TODO: 初始化为适当的值
            CreatureLeaveSpaceNodeEventArgs target = new CreatureLeaveSpaceNodeEventArgs(creature, mapSpaceNode);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
 public void CreatureTest()
 {
     BaseCreature creature = null; // TODO: 初始化为适当的值
     MapSpaceNode mapSpaceNode = null; // TODO: 初始化为适当的值
     CreatureLeaveSpaceNodeEventArgs target = new CreatureLeaveSpaceNodeEventArgs( creature, mapSpaceNode ); // TODO: 初始化为适当的值
     BaseCreature actual;
     actual = target.Creature;
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
        /// <summary>
        ///
        /// </summary>
        internal void OnLeavedMapSpaceNode(BaseCreature creature, MapSpaceNode mapSpaceNode)
        {
            EventHandler <CreatureLeaveSpaceNodeEventArgs> tempEventArgs = m_EventCreatureLeavedSpaceNode;

            if (tempEventArgs != null)
            {
                CreatureLeaveSpaceNodeEventArgs eventArgs = new CreatureLeaveSpaceNodeEventArgs(creature, mapSpaceNode);
                tempEventArgs(this, eventArgs);
            }
        }
示例#5
0
        public void CreatureTest()
        {
            BaseCreature creature     = null;                                                                     // TODO: 初始化为适当的值
            MapSpaceNode mapSpaceNode = null;                                                                     // TODO: 初始化为适当的值
            CreatureLeaveSpaceNodeEventArgs target = new CreatureLeaveSpaceNodeEventArgs(creature, mapSpaceNode); // TODO: 初始化为适当的值
            BaseCreature actual;

            actual = target.Creature;
            Assert.Inconclusive("验证此测试方法的正确性。");
        }