public void TestAdd() { SimpleCalc calc = new SimpleCalc(); double result = calc.Add(2, 3); Assert.AreEqual(6, result); //intentionally wrong 1st }
public void TestDivide() { SimpleCalc calc = new SimpleCalc(); double result = calc.Divide(100, 2); Assert.AreEqual(50, result); //correct, but make wrong inside class }