public void DivisionByZero() { var calculator = new Divide(); calculator.Calculate(22,0); }
public void CalculateTest(double firstArgument,double secondArgument, double result) { var calculator = new Divide(); var testResult = calculator.Calculate(firstArgument, secondArgument); Assert.AreEqual(testResult, result); }