示例#1
0
        public void Sub()
        {
            MyMath math = new MyMath();

            Assert.AreEqual(10, math.Subtract(20, 10));
        }
示例#2
0
        public void Add()
        {
            MyMath math = new MyMath();

            Assert.AreEqual(30, math.Add(20, 10));
        }
示例#3
0
文件: Class1.cs 项目: Anoone/Myfirst
        public void Div()
        {
            MyMath math = new MyMath();

            Assert.AreEqual(5, math.Div(25, 5));
        }
示例#4
0
文件: Class1.cs 项目: Anoone/Myfirst
        public void Mul()
        {
            MyMath math = new MyMath();

            Assert.AreEqual(20, math.Mul(4, 5));
        }
示例#5
0
文件: Class1.cs 项目: Anoone/Myfirst
        public void Sub()
        {
            MyMath math = new MyMath();

            Assert.AreEqual(1, math.Sub(3, 2));
        }
示例#6
0
文件: Class1.cs 项目: Anoone/Myfirst
        public void Add()
        {
            MyMath math = new MyMath();

            Assert.AreEqual(5, math.Add(2, 3));
        }