Пример #1
0
        public static void Main()
        {
            var t = new PerfUnitTest();

            //while (true)
            {
                try
                {
                    t.SetUp();
                    t.TestPerf();
                }
                finally
                {
                    t.TearDown();
                    //Console.WriteLine("Press Enter");
                    //Console.ReadLine();
                }
            }
        }
Пример #2
0
        public static void Main()
        {
            var t = new PerfUnitTest();

            //while (true)
            {
                try
                {
                    t.SetUp();
                    t.TestPerf();
                }
                finally
                {
                    t.TearDown();
                    //Console.WriteLine("Press Enter");
                    //Console.ReadLine();
                }
            }
        }