Exemplo n.º 1
0
        public void CheckExp_AddExpWhenPetIsAlive_Int()
        {
            TamagotchiPet pet = new TamagotchiPet("Bit");

            pet.CheckExp();
            Assert.AreEqual(1, pet.GetExp());
        }
Exemplo n.º 2
0
        public void CheckExp_DoesNotAddExpWhenPetIsDead_Int()
        {
            TamagotchiPet pet = new TamagotchiPet("Bit");

            pet.SetIsDead(true);
            pet.CheckExp();
            Assert.AreEqual(0, pet.GetExp());
        }