Beispiel #1
0
        public void Pet_Hunger_Decreases_By_10()
        {
            var myPet = new OrganicPet();

            myPet.Hunger = 10;
            myPet.FeedPet();
            Assert.Equal(0, myPet.Hunger);
        }
Beispiel #2
0
        public void Can_Feed_Pet()
        {
            // Arrange


            //Act
            opet.FeedPet();

            // Assert
            Assert.Equal(40, opet.Hunger);
        }