Ejemplo n.º 1
0
    static void RunTest1()
    {
        Console.WriteLine("Test1");
        var    t  = new Test1();
        var    sw = Stopwatch.StartNew();
        double x  = 0;

        for (var i = 0; i < num; i++)
        {
            t.CalculusMaster(x);
            x += 1.0;
        }
        sw.Stop();
        Console.WriteLine("Total time for " + num + " iterations: " + sw.ElapsedMilliseconds + " ms");
    }