Exemple #1
0
 public void DivisionByZeroTests()
 {
     var calculator = new Division();
     var result = calculator.Calculate(4, 0);
 }
Exemple #2
0
 public void Calculate(double firstArgument, double secondArgument, double result)
 {
     var calculator = new Division();
     var testResult = calculator.Calculate(firstArgument, secondArgument);
     Assert.AreEqual(result, testResult);
 }