public void TestFactorialZero() { int k = 0; long result = MathExtention.Factorial(k); Assert.AreEqual(result, 1); }
public void TestFactorialNegative() { int k = -1; long result = MathExtention.Factorial(k); Assert.AreEqual(result, 0); }