コード例 #1
0
ファイル: ArccotTest.cs プロジェクト: ronnycsharp/xFunc
        public void CalculateRadianTest()
        {
            IExpression exp = new Arccot(new Number(1));

            Assert.AreEqual(MathExtentions.Acot(1), exp.Calculate(AngleMeasurement.Radian));
        }
コード例 #2
0
ファイル: ArccotTest.cs プロジェクト: ronnycsharp/xFunc
        public void CalculateDegreeTest()
        {
            IExpression exp = new Arccot(new Number(1));

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