public void Add_Success() { Controllers.Calc calc = new Controllers.Calc(); int result = calc.Add(1, 2); Assert.AreEqual(3, result); }
public void Add_Success_Novo(int a, int b, int expected) { Controllers.Calc calc = new Controllers.Calc(); int result = calc.Add(a, b); Assert.AreEqual(expected, result); }