public void FactorialRec_Test_Fact() { int input = 4; int ans = 3; Assert.Equal(72, r.FactorialRec(input, ans)); }
public void FactorialRecTestFact() { int input = 4; int ans = 1; Assert.Equal(24, r.FactorialRec(input, ans)); }
public void FactorialRecTest2(int expected, int input) { RecursiveCalc rec = new RecursiveCalc(); int ans = 1; Assert.Equal(expected, rec.FactorialRec(input, ans)); }