예제 #1
0
        private static void TestPerformance()
        {
            var testClass = new EngineTests();

            try {
                testClass.Setup();
                testClass.TestGamePerformance();
            } catch (Exception ex) {
                Console.WriteLine(ex);
            }
        }
예제 #2
0
        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);
            }
        }