Esempio n. 1
0
        static void Main(string[] args)
        {
            MyMath MyMath = new MyMath();

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

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

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

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

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

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

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

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

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

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