public void TestCase2() { double test; test = FindNewtonRoot.NewtonRoot(8, 3, 0.0001); Assert.AreEqual(test, 2.0, 1); }
public void TestCase3() { double test; test = FindNewtonRoot.NewtonRoot(0.001, 3, 0.0001); Assert.AreEqual(test, 0.1, 1); }
public void TestCase1() { double test; test = FindNewtonRoot.NewtonRoot(1.0, 5, 0.0001); Assert.AreEqual(test, 1.0, 1); }