Пример #1
0
 public void DivisionTestByZero()
 {
     var calculator = new Division();
     var result = calculator.Calculate(3, 0);
 }
Пример #2
0
 public void CalculateTest(double firstArgument, double secondArgument, double result)
 {
     var calculator = new Division();
     var testResult = calculator.Calculate(firstArgument, secondArgument);
     Assert.AreEqual(result, testResult);
 }