public void TestFactorial12() { int[] c = CalculateNFactorialUsingIntArrays.Factorial1(21); int[] expectedResult = new int[] { 0, 0, 0, 0, 4, 4, 9, 0, 7, 1, 7, 1, 2, 4, 9, 0, 9, 0, 1, 5 }; CollectionAssert.AreEqual(expectedResult, c); }
public void TestFactorial11() { int[] c = CalculateNFactorialUsingIntArrays.Factorial1(-10); Assert.Fail(); }