[TestMethod] //how do I test random nums? public void AttentionDecay_SubtractsAttention_Int() { TamagotchiPet pet = new TamagotchiPet("Anton"); pet.AttentionDecay(); Assert.AreEqual(pet.GetAttention(), pet.GetAttention()); }
[TestMethod] //how do I test random nums? public void AttentionDecay_SubtractsAttention_Int() { TamagotchiPet pet = new TamagotchiPet("Anton"); pet.AttentionDecay(); Assert.AreEqual(pet.GetAttention(), pet.GetAttention()); }