public void Herbivore_Can_Eat_Vegetable() { var myHerbivore = new MyHerbivore(); myHerbivore.CanEat(new Carrot()).Should().BeTrue(); }
public void Herbivore_Cannot_Eat_Meat() { var myHerbivore = new MyHerbivore(); myHerbivore.CanEat(new Pork()).Should().BeFalse(); }
public void Herbivore_Can_Eat_Fruit() { var myHerbivore = new MyHerbivore(); myHerbivore.CanEat(new Banana()).Should().BeTrue(); }