Ejemplo n.º 1
0
        static void TestAll(Func <double, double> func)
        {
            string n = func.Method.Name;

            TestCommon(func, TestMin, TestMax, n);
            TestCommon((double y, double x) => ArcTan.Atan2_1(func, y, x), TestMin, TestMax, n + "-atan21");
            TestCommon((double y, double x) => ArcTan.Atan2_2(func, y, x), TestMin, TestMax, n + "-atan22");
        }