public void Additionner_RetournerValeurAddition() { //Arrange var calculatrice = new Calculatrice(); //Act var resultat = calculatrice.Additionner(3, 5); //Assert Assert.Equal(8, resultat); }
public void Additionner_RetournerValeursAddition(int a, int b, int addition) { //Arrange var calculatrice = new Calculatrice(); //Act var resultat = calculatrice.Additionner(a, b); //Assert Assert.Equal(addition, resultat); }