コード例 #1
0
 public void Pet_Should_Have_Hunger()
 {
     Assert.NotNull(testOPet.GetHunger());
 }
コード例 #2
0
        public void GetHunger_Should_Return_Initial_Hunger_Level_Of_50()
        {
            int testPetHunger = testOrganicPet.GetHunger();

            Assert.Equal(50, testPetHunger);
        }
コード例 #3
0
        public void Hunger_Should_Return_Initial_Hunger_Level_Of_50()
        {
            int organicPetsHunger = organicPets.GetHunger();

            Assert.Equal(50, organicPetsHunger);
        }