public void TestDivide(double firstArgument, double secondArgument, double output) { var calculator = new Divide(); var testResult = calculator.Calculate(firstArgument, secondArgument); Assert.AreEqual(output, testResult, 0.0000001); }
public void DivideZeroTest() { var calculator = new Divide(); calculator.Calculate(4, 0); }