[TestMethod] //fix this - how do I test random nums? public void FoodDecay_SubtractsFood_Int() { TamagotchiPet pet = new TamagotchiPet("Anton"); pet.FoodDecay(); Assert.AreEqual(pet.GetFood(), pet.GetFood()); }
public void CheckVitals_ChecksIfPetIsDead_Bool() { TamagotchiPet pet = new TamagotchiPet("Tan"); for (int i = 0; i < 20; i++) { pet.FoodDecay(); } pet.CheckVitals(); Assert.AreEqual(true, pet.GetIsDead()); }