public void Multiply(int num1, int num2, int expected) { UnitTestMethods unitTestMultiply = new UnitTestMethods(); var actualMultiply = unitTestMultiply.Multiply(num1, num2); Assert.Equal(actualMultiply, expected); }
public void Multiply(int num1, int num2, int expected) { //Arrange var test = new UnitTestMethods(); //Act var actual = test.Multiply(num1, num2); //Assert Assert.Equal(expected, actual); }
public void Multiply(int num1, int num2, int expected) { //Arrange UnitTestMethods challenger = new UnitTestMethods(); //Act int actual = challenger.Multiply(num1, num2); //Assert Assert.Equal(actual, expected); }
public void Multiply(int num1, int num2, int expected) { //Arrange var myTests = new UnitTestMethods(); //Act int result = myTests.Multiply(num1, num2); //Assert Assert.Equal(expected, result); }
public void Multiply(int num1, int num2, int expected) { //Arrange var m = new UnitTestMethods(); //Act var actual = m.Multiply(num1, num2); //Assert Assert.Equal(actual, expected); }
public void Multiply(int num1, int num2, int expected) { //Arrange var mult = new UnitTestMethods(); //Act var actual = mult.Multiply(num1, num2); //Assert actual.Equals(expected); }
public void Multiply(int num1, int num2, int expected) { //Arrange - instantiation of the class var test = new UnitTestMethods(); //Act call the method var actual = test.Multiply(num1, num2); //Assert - the actual test Assert.Equal(expected, actual); }