Beispiel #1
0
        public void CalculateRadianTest()
        {
            IExpression exp = new Arccot(new Number(1));

            Assert.AreEqual(MathExtentions.Acot(1), exp.Calculate(AngleMeasurement.Radian));
        }
Beispiel #2
0
        public void CalculateDegreeTest()
        {
            IExpression exp = new Arccot(new Number(1));

            Assert.AreEqual(MathExtentions.Acot(1) / Math.PI * 180, exp.Calculate(AngleMeasurement.Degree));
        }