public void TestFindNthRootNumberZero() { var value0 = FindNthRootCls.FindNthRoot(0f, 9, 0.03f); Assert.AreEqual(0, value0); }
public void TestFindNthRootPrecisionZero() { var value0 = FindNthRootCls.FindNthRoot(0.1f, 9, 0.0f); Assert.AreEqual(0.774, value0); }
public void TestFindNthRoot() { var value0d545 = FindNthRootCls.FindNthRoot(0.004241979f, 9, 0.00000001f); Assert.AreEqual(0.545, value0d545); }