public void CompareSub02Asserts() { var actual = new MyMath(); Assert.AreEqual(0, actual.Sub(2, 2)); }
public void CompareSub03Asserts() { var actual = new MyMath(); Assert.IsTrue(actual.Sub(2, 2) == 0); }
public void Mul04() { MyMath math = new MyMath(); Assert.That(math.Mul(12, 1024), Is.Not.Null); }
public void TrueAdd03Asserts() { var actual = new MyMath(); Assert.IsTrue(actual.Add(2, 2) == 4); }
public void Add01() { MyMath math = new MyMath(); Assert.AreEqual(31, math.Add(11, 20)); }
public void Mul03() { MyMath math = new MyMath(); Assert.AreEqual(math.Mul(12, 1024), math.Mul(1024, 12)); }
public void Sub03() { MyMath math = new MyMath(); Assert.AreNotEqual(math.Sub(20, 10), math.Sub(10, 20)); }
public void CompareIntDiv01Asserts() { var actual = new MyMath(); Assert.AreEqual(0, actual.Div(1, 1)); }
public void Sub01() { MyMath math = new MyMath(); Assert.AreEqual(10, math.Sub(20, 10)); }
public void Sub02() { MyMath math = new MyMath(); Assert.IsFalse(math.Sub(-10, 10) == 0); }
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 CompareMul01Asserts() { var actual = new MyMath(); Assert.AreEqual(0, actual.Mul(1, 1)); }
public void Mul01() { MyMath math = new MyMath(); Assert.AreEqual(-10, math.Mul(2, -5)); }
public void NotNullMul02Asserts() { var actual = new MyMath(); Assert.IsNotNull(actual.Mul(2, 2)); }
public void Mul02() { MyMath math = new MyMath(); Assert.IsNotNull(math.Mul(12, 1024)); }
public void CompareDiv01Asserts() { var actual = new MyMath(); Assert.AreEqual(1, actual.Div(0.1, 0.1)); }
public void IntDiv01() { MyMath math = new MyMath(); Assert.AreEqual(2, math.IntDiv(5, 2)); }