public void MultiplyTest() { Calculator calc = new Calculator(); int number1 = 5; int number2 = 7; int expected = 35; int actual = calc.Multiply(number1, number2); Assert.AreEqual(expected, actual); }
public void AddTest() { //Arrange Calculator calc = new Calculator(); int number1 = 5; int number2 = 7; int expected = 12; //Act int actual = calc.Add(number1, number2); //Assert Assert.AreEqual(expected, actual); }