public void Recursive(ulong input, ulong expected)
        {
            var sut    = new FibonacciCalc();
            var actual = sut.Recursive(input);

            Assert.Equal(expected, actual);
        }
예제 #2
0
        public void Recursive(ulong n, ulong expected)
        {
            // Arrange
            var fib = new FibonacciCalc();

            // Act
            var result = fib.Recursive(n);

            // Assert
            Assert.Equal(expected, result);
        }
예제 #3
0
 public void Recursive(ulong n, ulong expected)
 {
     _calc.Recursive(n).Should().Be(expected);
 }