Exemple #1
0
        public void Feed_All_Pets_Should_Decrease_Hunger_Of_All_Pets_By_40()
        {
            testShelter.listOfPets.Add(testOrganicPet1);
            testShelter.listOfPets.Add(testOrganicPet2);
            testShelter.listOfPets.Add(testOrganicPet3);

            testShelter.FeedAllPets();

            Assert.Equal(10, testOrganicPet1.Hunger);
            Assert.Equal(10, testOrganicPet2.Hunger);
            Assert.Equal(10, testOrganicPet3.Hunger);
        }