Esempio n. 1
0
        public void ItemMovedInMapEventArgsConstructorTest()
        {
            Point3D  oldLocation           = new Point3D(); // TODO: 初始化为适当的值
            BaseItem item                  = null;          // TODO: 初始化为适当的值
            BaseMap  map                   = null;          // TODO: 初始化为适当的值
            ItemMovedInMapEventArgs target = new ItemMovedInMapEventArgs(oldLocation, item, map);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        internal void OnMoved(Point3D oldLocation, BaseItem item, BaseMap map)
        {
            EventHandler <ItemMovedInMapEventArgs> tempAfterEventArgs = m_EventItemMovedInMap;

            if (tempAfterEventArgs != null)
            {
                ItemMovedInMapEventArgs eventArgs = new ItemMovedInMapEventArgs(oldLocation, item, map);
                tempAfterEventArgs(this, eventArgs);
            }
        }
 public void ItemTest()
 {
     Point3D oldLocation = new Point3D(); // TODO: 初始化为适当的值
     BaseItem item = null; // TODO: 初始化为适当的值
     BaseMap map = null; // TODO: 初始化为适当的值
     ItemMovedInMapEventArgs target = new ItemMovedInMapEventArgs( oldLocation, item, map ); // TODO: 初始化为适当的值
     BaseItem actual;
     actual = target.Item;
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
Esempio n. 4
0
        public void ItemTest()
        {
            Point3D  oldLocation           = new Point3D();                                       // TODO: 初始化为适当的值
            BaseItem item                  = null;                                                // TODO: 初始化为适当的值
            BaseMap  map                   = null;                                                // TODO: 初始化为适当的值
            ItemMovedInMapEventArgs target = new ItemMovedInMapEventArgs(oldLocation, item, map); // TODO: 初始化为适当的值
            BaseItem actual;

            actual = target.Item;
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
 public void ItemMovedInMapEventArgsConstructorTest()
 {
     Point3D oldLocation = new Point3D(); // TODO: 初始化为适当的值
     BaseItem item = null; // TODO: 初始化为适当的值
     BaseMap map = null; // TODO: 初始化为适当的值
     ItemMovedInMapEventArgs target = new ItemMovedInMapEventArgs( oldLocation, item, map );
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }
 /// <summary>
 /// 
 /// </summary>
 internal void OnMoved( Point3D oldLocation, BaseItem item, BaseMap map )
 {
     EventHandler<ItemMovedInMapEventArgs> tempAfterEventArgs = m_EventItemMovedInMap;
     if ( tempAfterEventArgs != null )
     {
         ItemMovedInMapEventArgs eventArgs = new ItemMovedInMapEventArgs( oldLocation, item, map );
         tempAfterEventArgs( this, eventArgs );
     }
 }