public void IsPolynom_Arctan() { var var1 = new Variable("x"); var res = new Arccot(var1).IsPolynom; Assert.AreEqual(false, res); }
public void IsArccotConst() { var const1 = new Constant(0.7); var res = new Arccot(const1).IsConstant; Assert.AreEqual(false, res); }
public void ArcotConstantTest() { var const1 = new Constant(4); var res = new Arccot(const1); Assert.AreEqual(0.24, res.Compute(null), error); }
public void ArccotVariableTest() { var var1 = new Variable("x"); var res = new Arccot(var1); Assert.AreEqual(0.24, res.Compute(new Dictionary <string, double>() { ["x"] = 4 }), error); }
public void IsPolynomArccot() { var const1 = new Arccot("е"); Assert.AreEqual(false, const1.IsPolynom); }