public void HerbivoreInstantiatedOmnivoreEatingMeat()
        {
            var omnivore = new HerbivoreOmnivore();
            var meat     = new Food(Origin.Animal);

            string eatingMessage       = omnivore.EatFood(meat.Type);
            string eatingAnimalMessage = "Eating animal origin food.";

            Assert.AreEqual(eatingAnimalMessage, eatingMessage, true);
        }
        public void HerbivoreInstantiatedOmnivoreEatingPlant()
        {
            var omnivore = new HerbivoreOmnivore();
            var plant    = new Food(Origin.Vegetal);

            string eatingMessage        = omnivore.EatFood(plant.Type);
            string eatingVegetalMessage = "Eating plant origin food.";

            Assert.AreEqual(eatingVegetalMessage, eatingMessage, true);
        }
 public CarnivoreOmnivore()
 {
     twin = new HerbivoreOmnivore(this);
 }
 public CarnivoreOmnivore(HerbivoreOmnivore omnivore)
 {
     twin = omnivore;
 }