Exemple #1
0
        public void AdditionResultNotNull()
        {
            Addition addi       = new Addition();
            int      addiAnswer = addi.AdditionOperation(2, 4);

            Assert.IsNotNull(addiAnswer);
        }
Exemple #2
0
        public void AdditionCalculation()
        {
            Addition addi       = new Addition();
            int      addiAnswer = addi.AdditionOperation(7, 4);

            Assert.AreEqual(11, addiAnswer);
        }