static void Main(string[] args)
        {
            MyMath MyMath = new MyMath();

            MyMath.Result;
        }
Example #2
0
        public void Mul02()
        {
            MyMath txt = new MyMath();

            Assert.IsNotNull(txt.Mul(2, 2));
        }
Example #3
0
        public void Div01()
        {
            MyMath txt = new MyMath();

            Assert.AreEqual(txt.Div(2, 2), 1);
        }
Example #4
0
        public void Sub03()
        {
            MyMath txt = new MyMath();

            Assert.AreNotEqual(txt.Sub(1, 1), 1);
        }
Example #5
0
        public void Mul01()
        {
            MyMath txt = new MyMath();

            Assert.AreEqual(txt.Mul(2, 2), 4);
        }
Example #6
0
        public void Sub02()
        {
            MyMath txt = new MyMath();

            Assert.IsFalse(txt.Sub(1, 1) > 0);
        }
Example #7
0
        public void Sub01()
        {
            MyMath txt = new MyMath();

            Assert.AreEqual(txt.Sub(1, 1), 0);
        }
Example #8
0
        public void Add03()
        {
            MyMath txt = new MyMath();

            Assert.IsTrue(txt.Add(1, 1) > 1);
        }
Example #9
0
        public void Add02()
        {
            MyMath txt = new MyMath();

            Assert.AreEqual(txt.Add(1, 3), 4);
        }
Example #10
0
        public void Add01()
        {
            MyMath txt = new MyMath();

            Assert.AreEqual(txt.Add(1, 1), 2);
        }