Exemplo n.º 1
0
        public void UpdatingLocationEventArgsConstructorTest()
        {
            Point3D     location             = new Point3D(); // TODO: 初始化为适当的值
            WorldEntity gameEntity           = null;          // TODO: 初始化为适当的值
            UpdatingLocationEventArgs target = new UpdatingLocationEventArgs(location, gameEntity);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
Exemplo n.º 2
0
        public void NewLocationTest()
        {
            Point3D     location             = new Point3D();                                       // TODO: 初始化为适当的值
            WorldEntity gameEntity           = null;                                                // TODO: 初始化为适当的值
            UpdatingLocationEventArgs target = new UpdatingLocationEventArgs(location, gameEntity); // TODO: 初始化为适当的值
            Point3D actual;

            actual = target.NewLocation;
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Exemplo n.º 3
0
        public void IsCancelTest()
        {
            Point3D     location             = new Point3D();                                       // TODO: 初始化为适当的值
            WorldEntity gameEntity           = null;                                                // TODO: 初始化为适当的值
            UpdatingLocationEventArgs target = new UpdatingLocationEventArgs(location, gameEntity); // TODO: 初始化为适当的值
            bool expected = false;                                                                  // TODO: 初始化为适当的值
            bool actual;

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