Ejemplo n.º 1
0
            public void TestDivideNegative()
            {
                MyMath math = new MyMath();

                Assert.LessOrEqual(math.Divide(20, 10), 1);
            }
Ejemplo n.º 2
0
            public void TestMultiplePositive()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(200, math.Multiple(20, 10));
            }
Ejemplo n.º 3
0
            public void TestMultipleNegative()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(150, math.Sub(20, 10));
            }
Ejemplo n.º 4
0
            public void TestSubNegative()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(5, math.Sub(20, 10));
            }
Ejemplo n.º 5
0
            public void TestSubPositive()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(10, math.Sub(20, 10));
            }
Ejemplo n.º 6
0
            public void TestAddNegative()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(45, math.Add(10, 20));
            }
Ejemplo n.º 7
0
            public void TestAddPositive()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(30, math.Add(10, 20));
            }
Ejemplo n.º 8
0
            public void TestAddGreater()
            {
                MyMath math = new MyMath();

                Assert.Greater(45, math.Add(10, 20));
            }