Exemplo n.º 1
0
        private static void RunCreateOnce <TRun>() where TRun : RunBase, new()
        {
            var runner = new TRun {
                IsNotBenchmark = true
            };

            runner.GlobalSetup();
            runner.RunCreateOnce();
        }
Exemplo n.º 2
0
        static void Run <TRun>() where TRun : RunBase, new()
        {
            var runner = new TRun {
                IsNotBenchmark = true
            };

            runner.GlobalSetup();
            runner.Run();
        }