private static void TestPerformance() { var testClass = new EngineTests(); try { testClass.Setup(); testClass.TestGamePerformance(); } catch (Exception ex) { Console.WriteLine(ex); } }
private static void TestPerformance() { var testClass = new EngineTests(); try { testClass.Setup(); var watch = Stopwatch.StartNew(); testClass.TestGamePerformance(); Console.WriteLine(watch.ElapsedMilliseconds); } catch (Exception ex) { Console.WriteLine(ex); } }