public void MustShowVeuillezVerifierLaValiditeDesParametresPassesDeuxParametres() { Init(); // arrange string expected = "Veuillez vérifier la validité des paramètres passés."; IAction action = new Div(Writer); string[] args = new string[] { "Div", "5" }; // act action.Action(args); //assert Assert.Equal(expected, Lines[0]); }
public void MustShowLeResultatEst8() { Init(); // arrange string expected = "Le résultat est : 8"; IAction action = new Div(Writer); string[] args = new string[] { "Div", "80", "10" }; // act action.Action(args); //assert Assert.Equal(expected, Lines[0]); }