示例#1
0
        static void Main(string[] args)
        {
            MyMath MyMath = new MyMath();

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

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

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

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

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

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

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

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

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

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