public void TestDivideNegative() { MyMath math = new MyMath(); Assert.LessOrEqual(math.Divide(20, 10), 1); }
public void TestMultiplePositive() { MyMath math = new MyMath(); Assert.AreEqual(200, math.Multiple(20, 10)); }
public void TestMultipleNegative() { MyMath math = new MyMath(); Assert.AreEqual(150, math.Sub(20, 10)); }
public void TestSubNegative() { MyMath math = new MyMath(); Assert.AreEqual(5, math.Sub(20, 10)); }
public void TestSubPositive() { MyMath math = new MyMath(); Assert.AreEqual(10, math.Sub(20, 10)); }
public void TestAddNegative() { MyMath math = new MyMath(); Assert.AreEqual(45, math.Add(10, 20)); }
public void TestAddPositive() { MyMath math = new MyMath(); Assert.AreEqual(30, math.Add(10, 20)); }
public void TestAddGreater() { MyMath math = new MyMath(); Assert.Greater(45, math.Add(10, 20)); }