static void Main(String[] args) { MyMath math = new MyMath(); Console.WriteLine(math.Add(10, 20)); Console.ReadLine(); }
public void TestAdddNegative() { MyMath math = new MyMath(); Assert.AreEqual(30, math.Add(10, 20)); }
public void TestAddMultiply() { MyMath math = new MyMath(); Assert.Greater(math.Add(10, 30), 30); }
public void TestAddPositives() { MyMath math = new MyMath(); Assert.AreEqual(30, math.Add(10, 20)); }