public void Test_Factorial() { var exercise07 = new Exercise07(); Assert.AreEqual(exercise07.Factorial(10), 3628800); Assert.AreEqual(exercise07.Factorial(12), 479001600); }
public void Test_Factorial_Ok(int a, int result) { Assert.AreEqual(Exercise07.Factorial(a), result); }