public void PositiveInteger() { int expected = 120; int input = 5; //Act int actual = RecursiveFactorial.FindNthFactorial(input); //Assert Assert.AreEqual(expected, actual); }
public void Zero() { int expected = 1; int input = 0; //Act int actual = RecursiveFactorial.FindNthFactorial(input); //Assert Assert.AreEqual(expected, actual); }