public void ChaineToStringTest() { ClasseChaine.Chaine target = new ClasseChaine.Chaine(); string expected = "Chaine"; string actual; actual = target.ToString(); Assert.AreEqual(expected, actual, "ChaineToStringTest"); }
public void RetourneChaineRaccourcieLongueurHuit() { ClasseChaine.Chaine target = new ClasseChaine.Chaine(); string expected = "Méth[...]aine"; string actual; actual = target.RetourneChaineRaccourcie("Méthodes de la classe chaine"); Assert.AreEqual(expected, actual, "RetourneChaineRaccourcieLongueurHuit"); }
public void ChaineConstructorTest() { ClasseChaine.Chaine target = new ClasseChaine.Chaine(); Assert.IsNotNull(target, "ChaineConstructorTest"); }