public void CompareAdd02Asserts() { var actual = new MyMath(); var expected = 4; Assert.AreEqual(expected, actual.Add(2, 2)); }
public void CompareAdd01Asserts() { var actual = new MyMath(); var expected = 2; Assert.AreEqual(expected, actual.Add(1, 1)); }
public void TrueAdd03Asserts() { var actual = new MyMath(); Assert.IsTrue(actual.Add(2, 2) == 4); }
public void Add04() { MyMath math = new MyMath(); Assert.That(math.Add(20, 11), Is.AtLeast(20)); }
public void Add03() { MyMath math = new MyMath(); Assert.IsTrue(math.Add(-10, 10) == 0); }
public void Add02() { MyMath math = new MyMath(); Assert.AreEqual(31, math.Add(20, 11)); }
public void Add01() { MyMath math = new MyMath(); Assert.AreEqual(31, math.Add(11, 20)); }