CYCAMORE
Public Member Functions | Public Attributes | List of all members
test_regression.TestRegression Class Reference
Inheritance diagram for test_regression.TestRegression:
test_regression._PhysorEnrichment test_regression._PhysorSources test_regression._Recycle test_regression.TestDynamicCapacitated test_regression.TestGrowth test_regression.TestCBCPhysorEnrichment test_regression.TestGreedyPhysorEnrichment test_regression.TestCBCPhysorSources test_regression.TestGreedyPhysorSources test_regression.TestCbcRecycle test_regression.TestGreedyRecycle

Public Member Functions

def __init__ (self, args, kwargs)
 
def find_ids (self, spec, a, spec_col="Spec", id_col="AgentId")
 
def setUp (self)
 
def tearDown (self)
 
def to_ary (self, a, k)
 

Public Attributes

 agent_entry
 
 agent_exit
 
 compositions
 
 conn
 
 cur
 
 enrichments
 
 ext
 
 inf
 
 info
 
 outf
 
 resources
 
 rsrc_qtys
 
 transactions
 

Detailed Description

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 16 of file test_regression.py.

Constructor & Destructor Documentation

def test_regression.TestRegression.__init__ (   self,
  args,
  kwargs 
)

Definition at line 23 of file test_regression.py.

Member Function Documentation

def test_regression.TestRegression.find_ids (   self,
  spec,
  a,
  spec_col = "Spec",
  id_col = "AgentId" 
)
def test_regression.TestRegression.setUp (   self)
def test_regression.TestRegression.tearDown (   self)
def test_regression.TestRegression.to_ary (   self,
  a,
  k 
)

Member Data Documentation

test_regression.TestRegression.agent_entry
test_regression.TestRegression.agent_exit

Definition at line 39 of file test_regression.py.

test_regression.TestRegression.compositions

Definition at line 47 of file test_regression.py.

test_regression.TestRegression.conn

Definition at line 52 of file test_regression.py.

test_regression.TestRegression.cur

Definition at line 54 of file test_regression.py.

test_regression.TestRegression.enrichments
test_regression.TestRegression.ext
test_regression.TestRegression.inf

Definition at line 26 of file test_regression.py.

Referenced by test_regression.TestRegression.setUp().

test_regression.TestRegression.info

Definition at line 48 of file test_regression.py.

test_regression.TestRegression.outf
test_regression.TestRegression.resources

Definition at line 45 of file test_regression.py.

test_regression.TestRegression.rsrc_qtys
test_regression.TestRegression.transactions

The documentation for this class was generated from the following file: