예제 #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));
        }