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