Пример #1
0
 public void Fibonacci_Negative_Numbers_ThrowArgumentException()
 {
     Assert.Throws <ArgumentException>(() => MyFibonacci.FibonacciRec(-1));
     Assert.Throws <ArgumentException>(() => MyFibonacci.Fibonacci(-12));
 }
Пример #2
0
 public int FibonacciRecTests(int number) => MyFibonacci.FibonacciRec(number);