Ejemplo n.º 1
0
    public static void Main()
    {
        var bm = new Benchmark {
            N = 100
        };

        bm.Setup();

        if (bm.CheckSortFuncsAgree())
        {
            // ReSharper disable once UnusedVariable
            var summary = BenchmarkRunner.Run <Benchmark>();
        }
        else
        {
            Console.WriteLine("invalid benchmarks");
        }
    }