public void MultiplyTest() { Calculator calc = new Calculator(); int number1 = 5; int number2 = 7; int result = number1 * number2; int actual = calc.Multiply(number1, number2); Assert.AreEqual(result, actual); }
public void MultiplyTest() { // arrange Calculator calc = new Calculator(); int number1 = 5; int number2 = 7; int expected = 35; // act int actual = calc.Multiply(number1, number2); // assert Assert.AreEqual(expected, actual); }