Example #1
0
        static void Main(String[] args)
        {
            MyMath math = new MyMath();

            Console.WriteLine(math.Add(10, 20));
            Console.ReadLine();
        }
Example #2
0
            public void TestAdddNegative()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(30, math.Add(10, 20));
            }
Example #3
0
            public void TestAddMultiply()
            {
                MyMath math = new MyMath();

                Assert.Greater(math.Add(10, 30), 30);
            }
Example #4
0
            public void TestAddPositives()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(30, math.Add(10, 20));
            }