예제 #1
0
        /// <summary>
        ///GetComponent 的测试
        ///</summary>
        public void GetComponentTestHelper <T>()
            where T : class, IComponent
        {
            WorldEntity target      = CreateWorldEntity(); // TODO: 初始化为适当的值
            ComponentId componentId = new ComponentId();   // TODO: 初始化为适当的值
            T           expected    = null;                // TODO: 初始化为适当的值
            T           actual;

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