public void RepondreFizzMultipleDeTroisValide() { var calculateurReponse = new CalculateurReponse(); var reponse = calculateurReponse.ObtenirReponse(6); Assert.AreEqual("Fizz", reponse); }
public void RepondreChiffreOrigine() { var calculateurReponse = new CalculateurReponse(); var reponse = calculateurReponse.ObtenirReponse(7); Assert.AreEqual("7", reponse); }
public void RepondreFizzBuzzSiMultipleDeTroisEtCinq() { var calculateurReponse = new CalculateurReponse(); var reponse = calculateurReponse.ObtenirReponse(30); Assert.AreEqual("FizzBuzz", reponse); }
public void RepondreBuzzMultipleDeCinqValide() { var calculateurReponse = new CalculateurReponse(); var reponse = calculateurReponse.ObtenirReponse(10); Assert.AreEqual("Buzz", reponse); }
public void WhenHasMaximumNumber_ShouldHaveSameQuantityOfRecordsInList() { var calculateurReponse = new CalculateurReponse(); var valeurMaximum = 15; var list = calculateurReponse.ObtenirListe(valeurMaximum); Assert.AreEqual(valeurMaximum, list.Count); }