예제 #1
0
        public void Calculation_GivenTwoNumbers_ReturnTotals()
        {
            //Arrange
            int num1       = 5;
            int num2       = 10;
            int expected   = 15;
            var calService = new CalculationService();

            //Act
            var result = calService.AddNumber(num1, num2);

            //Assert
            Assert.Equal(expected, result);
        }