public void AdditionTest() { //Arrange var x = 15; var y = 10; //Act var resultat = calculator.Addition(x, y); //Assert Assert.Equal(25, resultat); }
public void Addition() { int firstValue = 10; int secondValue = 5; CalculatorRepository op = new CalculatorRepository(); var result = op.Addition(firstValue, secondValue); Assert.Equal(15, result); }