示例#1
0
        public void Multiply_Test_Method()
        {
            CaluclateBusiness cB = new CaluclateBusiness();
            int value1           = 10;
            int value2           = 5;

            Assert.AreEqual(50, cB.Multiply(value1, value2));
        }
示例#2
0
        public void Add_Test_Method()
        {
            CaluclateBusiness cB = new CaluclateBusiness();
            int value1           = 10;
            int value2           = 5;

            Assert.AreEqual(15, cB.Add(value1, value2));
        }
示例#3
0
        public void Sub_Test_Method2()
        {
            CaluclateBusiness cB = new CaluclateBusiness();
            int value1           = 10;
            int value2           = 5;

            Assert.AreEqual(5, cB.Sub(value1, value2));
        }