public void Calculate(double argument, double result) { var calculator = new Factorial(); var testresult = calculator.Calculate(argument); Assert.AreEqual(result, testresult); }
public void FactorialTestsByNegative() { var calculator = new Factorial(); var result = calculator.Calculate(-4); }