Example #1
0
 public void ArgumentOutOfRangeExceptionTests(int a)
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => Task6.Fibonacci(a));
 }
Example #2
0
        public void FibonacciTest(int a, int expected)
        {
            int actual = Task6.Fibonacci(a);

            Assert.AreEqual(expected, actual);
        }