public void CalculateRadianTest() { IExpression exp = new Arccot(new Number(1)); Assert.AreEqual(MathExtentions.Acot(1), exp.Calculate(AngleMeasurement.Radian)); }
public void CalculateDegreeTest() { IExpression exp = new Arccot(new Number(1)); Assert.AreEqual(MathExtentions.Acot(1) / Math.PI * 180, exp.Calculate(AngleMeasurement.Degree)); }