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