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

            try {
                testClass.Setup();
                var watch = Stopwatch.StartNew();
                //testClass.TestGamePerformance();
                testClass.Perft();
                Console.WriteLine(watch.ElapsedMilliseconds);
            } catch (Exception ex) {
                Console.WriteLine(ex);
            }
        }