[TestCase(-8, 2, 0.1)] // <-ArgumentOutOfRangeException public void FindNthRootInsertNumberArgumentOutOfRangeException(double number, int root, double accuracy) { Assert.Throws <ArgumentOutOfRangeException>(() => NewtonFinderNthRoot.FindNthRoot(number, root, accuracy)); }
public double FindNthRootInsertNumberSimpleTest(double number, int root, double accuracy) => NewtonFinderNthRoot.FindNthRoot(number, root, accuracy);