Beispiel #1
0
        public void IsArcothConst_()
        {
            var const1 = new Constant(0.7);
            var res    = new Arcoth(const1).IsConstant;

            Assert.AreEqual(false, res);
        }
Beispiel #2
0
        public void IsConstant_Arcoth()
        {
            var var1 = new Variable("x");
            var res  = new Arcoth(var1).IsConstant;

            Assert.AreEqual(false, res);
        }
Beispiel #3
0
        public void ArcothConstantTest()
        {
            var const1 = new Constant(4);
            var res    = new Arcoth(const1);

            Assert.AreEqual(0.25, res.Compute(null), error);
        }