Example #1
0
        public void Sum_Pass_ReturnEqual()
        {
            float a   = 1;
            float b   = 2;
            float sum = 3;

            float sumTest = Aritmetic.Sum(a, b);

            Assert.Equal(sum, sumTest);
        }
Example #2
0
        public void Sum_ReurnNotEqual()
        {
            float a   = 1;
            float b   = 2;
            float sum = 4;

            float sumTest = Aritmetic.Sum(a, b);

            Assert.NotEqual(sum, sumTest);
        }