예제 #1
0
        public void TestAddTwoNumbers_SmallIntegers()
        {
            // Arrange
            int a = 5;
            int b = 10;
            int expectedResult = 15;

            // Act
            int result = SampleClass.AddTwoNumbers(a, b);

            //Assert
            Assert.AreEqual(expectedResult, result, "Incorrect sum returned.");
        }