public void subNegativeTestMethod() { double number = -2; double number2 = -4; Calculator.Program p = new Calculator.Program(); Assert.AreEqual(2, p.sub(number, number2)); }
public void subTestMethod() { double number = 8; double number2 = 4; Calculator.Program p = new Calculator.Program(); Assert.AreEqual(4, p.sub(number, number2)); }