public void Factorial_WhenPositiveNumber_ResultFactorial() { // Arrange // Act var result = Recursive.Factorial(5); // Assert Assert.Equal(120, result); }
public void Factorial_WhenZero_ResultOne() { // Arrange // Act var result = Recursive.Factorial(0); // Assert Assert.Equal(1, result); }