public class CSVCapitalUpdaterTest extends BasicTestsUtils
a1, 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, potentialAgents, r1, r1cells, r2, r2cells, randomNumberCounter, regions, runInfo, w| Constructor and Description |
|---|
CSVCapitalUpdaterTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkRegionCells(Region r,
String csvFile) |
void |
setup() |
Region |
setupWorldWithUpdater(boolean requiresEffectiveCapitalData,
int year,
AbstractUpdater updater,
Cell... cells) |
void |
testGeneralOperation() |
void |
testYearlyFilename() |
void |
testYearlyFilenameEffectiveCapitalsRequired()
Test interplay with other (effective) capital level affecting means.
|
assertAgent, assertEqualMaps, assertEqualMaps, assertUnmanaged, capitals, checkDataType, checkOwnership, checkOwnership, checkSet, checkSet, countAgents, dm, getSingleProductionAgent, initTestEnvironment, print, services, setCapitals, setupBasicWorld, setupBasicWorld, setupPersister, setupPseudoRandomEngine, setupWorldpublic void setup()
public void testYearlyFilenameEffectiveCapitalsRequired()
throws Exception
Exceptionpublic Region setupWorldWithUpdater(boolean requiresEffectiveCapitalData, int year, AbstractUpdater updater, Cell... cells) throws Exception
Exceptionpublic void checkRegionCells(Region r, String csvFile) throws IOException
IOException