public void BearEats() { Bear bear = new Bear(); string honey = bear.Eat(); Assert.Equal("Honey comb please!", honey); }
public void Bear_Eats_Other() { Bear eater = new Bear(); OtherEdibleCritters food = new OtherEdibleCritters(); Assert.True(eater.Eat(food)); }
static void Main(string[] args) { Animal animal = new Animal(); Bear bear = new Bear(); animal.Eat(); bear.Eat(); }