public void AssertFactorial() { string val1 = "2"; string results = BigMath.Factorial(val1); Assert.AreEqual("2", results); }
public void AssertFactorialOf10() { string val1 = "10"; string results = BigMath.Factorial(val1); Assert.AreEqual("3628800", results); }
public void AssertFactorialOf15() { string val1 = "15"; string results = BigMath.Factorial(val1); Assert.AreEqual("1307674368000", results); }
public void AssertStaticFactoralMethod() { var testNumber = "1"; var testResult = BigMath.Factorial(testNumber); }