示例#1
0
        public void Add_TwoIntegers_ShouldCalculateCorrectly(int x, int y, int expectedResult)
        {
            var cmc          = new ComplexMathClass();
            int actualResult = cmc.Add(x, y);

            Assert.Equal <int>(expectedResult, actualResult);
        }
 public void Add_TwoIntegers_ShouldCalculateCorrectly(int x, int y, int expectedResult)
 {
     var cmc = new ComplexMathClass();
     int actualResult = cmc.Add(x, y);
     Assert.Equal<int>(expectedResult, actualResult);
 }
 public int Add_TwoIntegers_ShouldCalculateCorrectly(int x, int y)
 {
     var cmc = new ComplexMathClass();
     return cmc.Add(x, y);
 }
        public int Add_TwoIntegers_ShouldCalculateCorrectly(int x, int y)
        {
            var cmc = new ComplexMathClass();

            return(cmc.Add(x, y));
        }