Пример #1
0
        public void add_2_numbers()
        {
            var obj1 = new ClassAdd();
            int sum  = obj1.Add(7, 8);

            Assert.AreEqual(15, sum);
        }
Пример #2
0
        public void add_3_numbers_new_method(int i, int i1, int i2)
        {
            var wow   = new ClassAdd();
            int simho = wow.Add(i, i1);

            Assert.AreEqual(i2, simho);
        }
Пример #3
0
        public void sadatuje(int ty, int newnu, int oldnew)
        {
            var objy   = new ClassAdd();
            var totaly = objy.Add(newnu, oldnew);

            Assert.AreEqual(totaly, ty);
        }
Пример #4
0
        public void I_green_mango_more(int e, int j, int s)

        {
            var jadu = new ClassAdd();

            int kite = jadu.Add(j, s);

            Assert.AreEqual(e, kite);
        }