Beispiel #1
0
            public void TestDivideNegative()
            {
                MyMath math = new MyMath();

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

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

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

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

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

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

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

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