Пример #1
0
        public void Add_Success()
        {
            Controllers.Calc calc = new Controllers.Calc();
            int result            = calc.Add(1, 2);

            Assert.AreEqual(3, result);
        }
Пример #2
0
        public void Add_Success_Novo(int a, int b, int expected)
        {
            Controllers.Calc calc = new Controllers.Calc();
            int result            = calc.Add(a, b);

            Assert.AreEqual(expected, result);
        }