public void Factorial(int a, int expected) { //Arrange CalculatorClass calcInstance = new CalculatorClass(); //Act int actual = calcInstance.Factorial(a); //Assert Assert.Equal(expected, actual); }
public void Factorial(int a, int expected) { //Arrange CalculatorClass calcInstance = new CalculatorClass(); //Act int actual = calcInstance.Factorial(a); //Assert Assert.Equal(expected, actual); }