/// <summary> /// Start /// </summary> /// <param name="testName">Test name</param> /// <param name="renderCode">Render code</param> public static void Start(string testName, RenderDelegate renderCode) { using (game = new TestGame(testName, renderCode)) { game.Run(); } // using (game) }
/// <summary> /// Start /// </summary> /// <param name="renderCode">Render code</param> public static void Start(RenderDelegate renderCode) { using (game = new TestGame("Unit Test", renderCode)) { game.Run(); } // using (game) }