public void IsDevInteger() { MyMath math = new MyMath(); Assert.IsInstanceOf(typeof(double), math.Dev(20, 20)); }
public void TestAddCore() { MyMath math = new MyMath(); Assert.Greater(math.Add(30, 10), 30); }
public void TestDevPositive() { MyMath math = new MyMath(); Assert.AreEqual(0.5, math.Dev(10, 20)); }
public void TestDevNegative() { MyMath math = new MyMath(); Assert.AreEqual(45, math.Dev(10, 20)); }
public void TestMulNegative() { MyMath math = new MyMath(); Assert.AreEqual(45, math.Mul(10, 20)); }
public void TestMulPositive() { MyMath math = new MyMath(); Assert.AreEqual(200, math.Mul(10, 20)); }
public void TestAddNegative() { MyMath math = new MyMath(); Assert.AreEqual(45, math.Sub(10, 20)); }
public void TestSubPositive() { MyMath math = new MyMath(); Assert.AreEqual(-10, math.Sub(10, 20)); }
public void TestAddPositive() { MyMath math = new MyMath(); Assert.AreEqual(30, math.Add(10, 20)); }