public void Add(int num1, int num2, int num3, int expected)
        {
            //Arrange
            var total = new UnitTestMethods();

            //Act
            var actual = total.AddMethod(num1, num2, num3);

            //Assert
            Assert.Equal(expected, actual);
        }
예제 #2
0
        public void Add(int num1, int num2, int num3, int expected)
        {
            //Arrange
            var sut = new UnitTestMethods();

            //Act
            var actual = sut.AddMethod(num1, num2, num3);

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