/// <summary> ///CreateNewInstance 的测试 ///</summary> public void CreateNewInstanceTestHelper <GameEntityT>() where GameEntityT : WorldEntity { WorldEntity target = CreateWorldEntity(); // TODO: 初始化为适当的值 GameEntityT expected = default(GameEntityT); // TODO: 初始化为适当的值 GameEntityT actual; actual = target.CreateNewInstance <GameEntityT>(); Assert.AreEqual(expected, actual); Assert.Inconclusive("验证此测试方法的正确性。"); }