public void TestCos(double input, double expected)
        {
            NumberMath.AngleMode = AngleMode.Deg;
            Number result = NumberMath.Cos(input);

            AreEqual(expected, result, 1E-12);
        }
예제 #2
0
 protected override Number Evaluate(Number number)
 {
     return(NumberMath.Round(NumberMath.Cos(number), 21));
 }