public void WillAddToBuildingCount() { var planet = new Planet(); var player = new Player { TotalNetValue = new NetValue() }; const BuildingType Type = BuildingType.CashFactory; planet.AddBuildings(player, 5, Type); Assert.AreEqual(player.TotalNetValue.EntityCount, 5); }
public void WillAddTaxOffice() { var planet = new Planet(); var player = new Player { TotalNetValue = new NetValue() }; const BuildingType Type = BuildingType.TaxOffice; planet.AddBuildings(player, 1, Type); Assert.AreEqual(planet.TaxOfficeCount, 1); }
public void WillAddResearchLabs() { var planet = new Planet(); var player = new Player { TotalNetValue = new NetValue() }; const BuildingType Type = BuildingType.ResearchLab; planet.AddBuildings(player, 1, Type); Assert.AreEqual(planet.ResearchLabCount, 1); }
public void WillAddPortal() { var planet = new Planet(); var player = new Player { TotalNetValue = new NetValue() }; const BuildingType Type = BuildingType.Portal; planet.AddBuildings(player, 1, Type); Assert.IsTrue(planet.HasPortal); }
public void WillAddLivingQuarters() { var planet = new Planet(); var player = new Player { TotalNetValue = new NetValue() }; const BuildingType Type = BuildingType.LivingQuarters; planet.AddBuildings(player, 1, Type); Assert.AreEqual(planet.LivingQuartersCount, 1); }
public void WillAddCashFactorys() { var planet = new Planet(); var player = new Player { TotalNetValue = new NetValue() }; const BuildingType Type = BuildingType.CashFactory; planet.AddBuildings(player, 1, Type); Assert.AreEqual(planet.CashFactoryCount, 1); }