Пример #1
0
        public void SubstractTest()
        {
            CalculosHelper helper = new CalculosHelper();
            int            result = helper.Substract(20, 10);

            Assert.AreEqual(10, result);
        }
Пример #2
0
        public void DivTest()
        {
            CalculosHelper helper = new CalculosHelper();
            int            result = helper.Div(20, 0);

            Assert.AreEqual(2, result);
        }
Пример #3
0
        public void AddTest()
        {
            CalculosHelper helper = new CalculosHelper();
            int            result = helper.Add(20, 10);

            Assert.AreEqual(30, result);
        }