public void DivisionTestByZero() { var calculator = new Div(); var result = calculator.Calculate(5, 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); }