Exemple #1
0
        public void DernierePrestationTest()
        {
            Dossier    unDossier     = InitialiseDossier();
            Prestation unePrestation = new Prestation("Libelle P3", new DateTime(2015, 9, 10, 12, 0, 0), new Intervenant("Dupont", "Jean"));

            Assert.AreEqual(unePrestation.ToString(), unDossier.DernierePrestation().ToString(), "Erreur !!!!");
        }
Exemple #2
0
        public void DernierePrestationTest()
        {
            Dossier    unDossier      = InitialiseDossier();
            Prestation DernierePresta = new Prestation("Libelle P5", new DateTime(2015, 9, 10, 6, 0, 0), new Intervenant("Tournier", "Hélène"));

            Assert.AreEqual(DernierePresta.ToString(), unDossier.DernierePrestation().ToString(), "Ce n'est pas la derniere prestation enregistrée dans le dossier");
        }
Exemple #3
0
        public void DernierePrestationTest()
        {
            Dossier monDoss      = InitialiseDossier();
            String  maLastPresta = new Prestation("Libelle P5", new DateTime(2015, 9, 10, 6, 0, 0), new Intervenant("Tournier", "helene")).ToString();

            Assert.AreEqual(maLastPresta, monDoss.DernierePrestation().ToString(), "oui");
        }