Exemplo n.º 1
0
        public void checkAddition1(TetstSetInfo tci)
        {
            AddClass add1   = new AddClass();
            string   valMsg = "";
            string   valAdd = "";
            bool     flag   = add1.addition(tci.l_Num1, tci.l_Num2, out valMsg, out valAdd);

            // Assert.AreEqual(true, flag);

            if (flag == false)
            {
                Assert.Pass("Passed Validation : " + valMsg);
            }
            else
            {
                Assert.Pass("Failed Validation : " + valMsg);
            }
        }
Exemplo n.º 2
0
        public void checkAddition(TetstSetInfo tci)
        {
            AddClass add1   = new AddClass();
            string   valMsg = "";
            string   valAdd = "";
            bool     flag   = add1.addition(tci.l_Num1, tci.l_Num2, out valMsg, out valAdd);

            // Assert.AreEqual(true, flag);

            if (flag == true)
            {
                Assert.Pass("Passed Positive Test Case1");
            }
            else
            {
                Assert.Fail("Failed Positive Test Case1");
            }
        }