Public Member Functions | Public Attributes | List of all members
test_regression.TestGrowth Class Reference
Inheritance diagram for test_regression.TestGrowth:

Public Member Functions

def __init__ (self, args, kwargs)
def setUp (self)
def tearDown (self)
def test_deployment (self)
- Public Member Functions inherited from test_regression.TestRegression
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

- Public Attributes inherited from test_regression.TestRegression

Detailed Description

Tests GrowthRegion, ManagerInst, and Source over a 4-time step

A linear growth demand (y = x + 2) is provided to the growth region. Two
Sources are allowed in the ManagerInst, with capacities of 2 and 1.1,
respectively. At t=1, a 2-capacity Source is expected to be built, and at
t=2 and t=3, 1-capacity Sources are expected to be built.

A linear growth demand (y = 0x + 3) for a second commodity is provided at t=2
to test the demand for multiple commodities.

Definition at line 363 of file

Constructor & Destructor Documentation

def test_regression.TestGrowth.__init__ (   self,

Definition at line 375 of file

Member Function Documentation

def test_regression.TestGrowth.setUp (   self)

Definition at line 379 of file

def test_regression.TestGrowth.tearDown (   self)

Definition at line 382 of file

def test_regression.TestGrowth.test_deployment (   self)

Member Data Documentation


Definition at line 377 of file

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