CYCAMORE
|
Public Member Functions | |
find_ids (cls, spec, a, spec_col="Spec", id_col="AgentId") | |
setup_class (cls, inf) | |
teardown_class (cls) | |
to_ary (cls, a, k) | |
Public Attributes | |
agent_entry | |
agent_exit | |
compositions | |
conn | |
cur | |
enrichments | |
ext | |
inf | |
info | |
outf | |
resources | |
rsrc_qtys | |
transactions | |
A base class for all regression tests. A derived class is required for each new input file to be tested. Each derived class *must* declare an `inf` member in their `__init__` function that points to the input file to be tested, e.g., `self.inf_ = ./path/to/my/input_file.xml. See below for examples.
Definition at line 30 of file test_regression.py.
test_regression.TestRegression.find_ids | ( | cls, | |
spec, | |||
a, | |||
spec_col = "Spec", | |||
id_col = "AgentId" ) |
Definition at line 88 of file test_regression.py.
References test_regression.TestRegression.ext, test_regression._Recycle.ext, and helper.find_ids().
Referenced by test_regression._PhysorSources.setup_class(), test_regression.TestGrowth1.test_deployment(), test_regression.TestGrowth2.test_deployment(), and test_regression.TestDeployInst.test_deployment().
test_regression.TestRegression.setup_class | ( | cls, | |
inf ) |
Reimplemented in test_regression.TestCBCPhysorEnrichment, test_regression.TestGreedyPhysorEnrichment, test_regression.TestCBCPhysorSources, test_regression.TestGreedyPhysorSources, test_regression.TestDynamicCapacitated, test_regression.TestGrowth1, test_regression.TestGrowth2, test_regression.TestDeployInst, test_regression.TestGreedyRecycle, test_regression.TestCBCRecycle, test_regression._PhysorEnrichment, test_regression._PhysorSources, and test_regression._Recycle.
Definition at line 38 of file test_regression.py.
test_regression.TestRegression.teardown_class | ( | cls | ) |
Reimplemented in test_regression.TestDynamicCapacitated, test_regression.TestGrowth1, test_regression.TestGrowth2, and test_regression.TestDeployInst.
Definition at line 102 of file test_regression.py.
References test_regression.TestRegression.conn, test_regression.TestRegression.ext, test_regression._Recycle.ext, test_regression.TestRegression.outf, and test_regression._Recycle.outf.
test_regression.TestRegression.to_ary | ( | cls, | |
a, | |||
k ) |
Definition at line 95 of file test_regression.py.
References test_regression.TestRegression.ext, and test_regression._Recycle.ext.
Referenced by test_regression.TestGrowth1.test_deployment(), test_regression.TestGrowth2.test_deployment(), test_regression.TestDeployInst.test_deployment(), test_regression._PhysorEnrichment.test_nu(), and test_regression._PhysorEnrichment.test_swu().
test_regression.TestRegression.agent_entry |
Definition at line 51 of file test_regression.py.
Referenced by test_regression._PhysorEnrichment.setup_class(), test_regression._PhysorSources.setup_class(), test_regression.TestGrowth1.test_deployment(), test_regression.TestGrowth2.test_deployment(), test_regression.TestDeployInst.test_deployment(), and test_regression._PhysorSources.test_rxtr_deployment().
test_regression.TestRegression.agent_exit |
Definition at line 52 of file test_regression.py.
test_regression.TestRegression.compositions |
Definition at line 60 of file test_regression.py.
test_regression.TestRegression.conn |
Definition at line 65 of file test_regression.py.
Referenced by test_regression.TestRegression.teardown_class().
test_regression.TestRegression.cur |
Definition at line 67 of file test_regression.py.
test_regression.TestRegression.enrichments |
Definition at line 55 of file test_regression.py.
Referenced by test_regression._PhysorEnrichment.test_nu(), and test_regression._PhysorEnrichment.test_swu().
test_regression.TestRegression.ext |
Definition at line 39 of file test_regression.py.
Referenced by test_regression.TestRegression.find_ids(), test_regression.TestRegression.teardown_class(), and test_regression.TestRegression.to_ary().
test_regression.TestRegression.inf |
Definition at line 41 of file test_regression.py.
test_regression.TestRegression.info |
Definition at line 61 of file test_regression.py.
test_regression.TestRegression.outf |
Definition at line 40 of file test_regression.py.
Referenced by test_regression._Recycle.do_compare(), test_regression._Recycle.setup_class(), and test_regression.TestRegression.teardown_class().
test_regression.TestRegression.resources |
Definition at line 58 of file test_regression.py.
test_regression.TestRegression.rsrc_qtys |
Definition at line 62 of file test_regression.py.
Referenced by test_regression._PhysorSources.test_rxtr1_xactions(), test_regression._PhysorSources.test_rxtr2_xactions(), test_regression._PhysorSources.test_rxtr3_xactions(), test_regression._PhysorEnrichment.test_xactions1(), and test_regression._PhysorEnrichment.test_xactions2().
test_regression.TestRegression.transactions |
Definition at line 59 of file test_regression.py.
Referenced by test_regression._PhysorSources.test_rxtr1_xactions(), test_regression._PhysorSources.test_rxtr2_xactions(), test_regression._PhysorSources.test_rxtr3_xactions(), test_regression._PhysorEnrichment.test_xactions1(), and test_regression._PhysorEnrichment.test_xactions2().