public class RepeatingInnvationTest extends InnovationTestUtils
InnovationTestUtils.CsvProductivityInnovationRepTestComp| Modifier and Type | Field and Description |
|---|---|
protected RepeatingProductivityInnovation |
currentInnovation |
boolean |
indicator |
double |
INNOVATION_EFFECT_ON_PRODUCTIVITY |
String |
INNOVATION_ID |
protected RepeatingInnovativeInstitution |
institution |
String |
REPEATING_INNOVATION_XML_FILE |
innoFarmingA, innoForesterA, innovativeFarming, innovativeForestry, potentialAgentsa1, a2, allocation, c11, c12, c13, c14, c15, c16, c17, c18, c19, c21, c22, c23, c24, c25, c26, c27, c28, c29, cellCapitalsA, cellCapitalsB, competition, demandR1, demandR2, extensiveFarmingCapitalWeights, extensiveFarmingOnCA, extensiveFarmingOnCB, extensiveFarmingProductionWeights, farming, farmingGivingIn, farmingGivingUp, farmingProduction, forestry, forestryCapitalWeights, forestryGivingIn, forestryGivingUp, forestryOnCA, forestryOnCB, forestryProduction, forestryProductionWeights, modelData, persister, r1, r1cells, r2, r2cells, randomNumberCounter, regions, runInfo, w| Constructor and Description |
|---|
RepeatingInnvationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adoptAndCheck(InnovationAgent agent,
int ticks,
Service service,
double initialProductivity) |
void |
setUp() |
void |
tearDown() |
void |
testDiscountFactor() |
addInnovationAgentsToRegion1, checkCapital, checkCapitalChange, checkInnovationState, registerInstitutionassertAgent, assertEqualMaps, assertEqualMaps, assertUnmanaged, capitals, checkDataType, checkOwnership, checkOwnership, checkSet, checkSet, countAgents, dm, getSingleProductionAgent, initTestEnvironment, print, services, setCapitals, setupBasicWorld, setupBasicWorld, setupPersister, setupPseudoRandomEngine, setupWorldpublic final String INNOVATION_ID
public final String REPEATING_INNOVATION_XML_FILE
public final double INNOVATION_EFFECT_ON_PRODUCTIVITY
protected RepeatingInnovativeInstitution institution
protected RepeatingProductivityInnovation currentInnovation
public boolean indicator
public void tearDown()
public void testDiscountFactor()
protected void adoptAndCheck(InnovationAgent agent, int ticks, Service service, double initialProductivity)
agent -