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