public void Test_hunger_level_AFTER_VISIT_TO_DR() //Visit to doctor should decreases hunger by 10 { //ARRANGE PetClass mypet = new PetClass(); //ACT mypet.PetMaintenance(); mypet.Feed(); //ASSERT Assert.Equal(10, mypet.Feed()); }
public void Test_Hunger_Levels_Increase() { //ARRANGE PetClass pet = new PetClass(); //ACT pet.Feed(); //ASSERT Assert.Equal(5, pet.Hunger); }