Пример #1
0
        public void IsConstant_Tan()
        {
            var var1 = new Variable("x");
            var res  = new Tan(var1).IsConstant;

            Assert.AreEqual(false, res);
        }
Пример #2
0
        public void TanConstantTest()
        {
            var const1 = new Constant(4);
            var res    = new Tan(const1);

            Assert.AreEqual(1.15, res.Compute(null), error);
        }
Пример #3
0
        public void IsPolynom_Tan()
        {
            var var1 = new Variable("x");
            var res  = new Tan(var1).IsPolynom;

            Assert.AreEqual(false, res);
        }