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