Exemplo n.º 1
0
 public void DivisionTestByZero()
 {
     var calculator = new Div();
     var result = calculator.Calculate(5, 0);
 }
Exemplo n.º 2
0
 public void CalculateTest(double firstArgument, double secondArgument, double result, double accracy)
 {
     var testingFunction = new Div();
     var testResult = testingFunction.Calculate(firstArgument, secondArgument);
     Assert.AreEqual(result, testResult, accracy);
 }