static void Main(string[] args) { MyMath math = new MyMath(); Console.WriteLine(math.Add(10, 20)); Console.ReadLine(); }
public void TestAddPositive() { MyMath math = new MyMath(); Assert.AreEqual(30, math.Add(10, 20)); }
public void TestAddNegative() { MyMath math = new MyMath(); Assert.AreEqual(45, math.Add(10, 20)); }
public void TestAddGreater() { MyMath math = new MyMath(); Assert.Greater(45, math.Add(10, 20)); }