public void StartWar_Starts_The_War() { var fighters = new List <IFighter> { new Barbarian(), new Barbarian(), new FightingFarmerAdapter(new Farmer()) }; var troop = new Troops(fighters); troop.StartWar(); }
public void StartWar_Moves_And_Attacks() { var farmer = new Farmer(); var troops = new List <IFighter> { new Barbarian(), new FightingFarmer(farmer) }; var warTroops = new Troops(troops); warTroops.StartWar(); }