An accurate simulation of zookeepers feeding Lions and Pandas
- Create a human that likes bacon and tacos, but not bamboo
- (Using TDD [write tests first])
- Create a FoodBarge that can be called like:
- Test that when the zookeepers gets food for the panda, the panda will eat it
food = foodbarge.food_for(panda)
panda.feed(food)
- Extract
Food
into a class, rather than a symbol - Create separate Tacos, Wildebeests, etc classes for each food
- Rather than comparing Tacos.new, implement the
==
method so you can doTacos.new == Tacos.new
Copyright: Jesse Wolgamott, MIT License (See LICENSE)