Ejemplo n.º 1
0
 public void FibonacciShouldPrintNextNumber()
 {
     FibonacciNumbers fibonacci = new FibonacciNumbers();
     int input = 1;
     int expected = 1;
     int actual = fibonacci.GetNext(input);
     Assert.AreEqual(expected, actual);
 }
 public void FibonacciShouldPrintNextNumber()
 {
     FibonacciNumbers fibonacci = new FibonacciNumbers();
     BigInteger input = fibonacci.GetFirst();
     BigInteger expected = 1;
     BigInteger actual = fibonacci.GetNext(input);
     Assert.AreEqual(expected, actual);
 }