CYCAMORE
|
Public Member Functions | |
setup_class (cls) | |
teardown_class (cls) | |
test_deployment (self) | |
Public Member Functions inherited from test_regression.TestRegression | |
find_ids (cls, spec, a, spec_col="Spec", id_col="AgentId") | |
to_ary (cls, a, k) | |
Additional Inherited Members | |
Public Attributes inherited from test_regression.TestRegression | |
agent_entry | |
agent_exit | |
compositions | |
conn | |
cur | |
enrichments | |
ext | |
inf | |
info | |
outf | |
resources | |
rsrc_qtys | |
transactions | |
This class tests the ./input/deploy_and_manager_insts.xml Tests GrowthRegion, ManagerInst, DeployInst, and Source over a 10-time step simulation. A linear growth demand (y = 5) is provided to the growth region. One Source is allowed in the ManagerInst, with capacity of 1. At t=1, a 1-capacity Source1 is built by the DeployInst, and at t=6, 4 1-capacity Source2s are expected to be built by the ManagerInst.
Definition at line 413 of file test_regression.py.
test_regression.TestGrowth2.setup_class | ( | cls | ) |
Reimplemented from test_regression.TestRegression.
Definition at line 426 of file test_regression.py.
References test_regression.TestGrowth2.setup_class(), and test_regression.skip_if_dont_allow_milps().
Referenced by test_regression.TestGrowth2.setup_class().
test_regression.TestGrowth2.teardown_class | ( | cls | ) |
Reimplemented from test_regression.TestRegression.
Definition at line 431 of file test_regression.py.
References test_regression.TestGrowth2.teardown_class().
Referenced by test_regression.TestGrowth2.teardown_class().
test_regression.TestGrowth2.test_deployment | ( | self | ) |
Definition at line 434 of file test_regression.py.
References test_regression.TestRegression.agent_entry, test_regression.TestRegression.find_ids(), and test_regression.TestRegression.to_ary().