public void UTEat() { var food = new Food(); player.EnergyLevel = 100; player.PickItem(food); player.Eat(); Assert.Greater(player.EnergyLevel, 100); }
/// <summary> /// undo eating food /// </summary> public void UnEat() { EnergyLevel -= new Food().EnergyLevel; }
public void UTPickItem() { var food = new Food(); player.PickItem(food); Assert.IsTrue(player.Items.Contains(food)); }