CYCAMORE
Loading...
Searching...
No Matches
test_regression._PhysorEnrichment Class Reference
Inheritance diagram for test_regression._PhysorEnrichment:
test_regression.TestRegression test_regression.TestCBCPhysorEnrichment test_regression.TestGreedyPhysorEnrichment

Public Member Functions

 setup_class (cls, inf)
 
 test_deploy (self)
 
 test_nu (self)
 
 test_swu (self)
 
 test_xactions1 (self)
 
 test_xactions2 (self)
 
- Public Member Functions inherited from test_regression.TestRegression
 find_ids (cls, spec, a, spec_col="Spec", id_col="AgentId")
 
 teardown_class (cls)
 
 to_ary (cls, a, k)
 

Public Attributes

 enr_id = cls.find_ids(":cycamore:Enrichment", tbl)
 
 rx_id = cls.find_ids(":cycamore:Reactor", tbl)
 
- Public Attributes inherited from test_regression.TestRegression
 agent_entry = f.get_node("/AgentEntry")[:]
 
str agent_exit
 
 compositions = f.get_node("/Compositions")[:]
 
 conn = sqlite3.connect(cls.outf)
 
 cur = cls.conn.cursor()
 
str enrichments
 
str ext = '.sqlite'
 
 inf = inf
 
 info = f.get_node("/Info")[:]
 
str outf = str(uuid.uuid4()) + cls.ext
 
 resources = f.get_node("/Resources")[:]
 
dict rsrc_qtys
 
 transactions = f.get_node("/Transactions")[:]
 

Detailed Description

This class tests the 1_Enrichment_2_Reactor.xml file related to the
Cyclus Physor 2014 publication. The number of key facilities, the enrichment
values, and the transactions to each reactor are tested.

Definition at line 109 of file test_regression.py.

Member Function Documentation

◆ setup_class()

test_regression._PhysorEnrichment.setup_class ( cls,
inf )

◆ test_deploy()

test_regression._PhysorEnrichment.test_deploy ( self)

Definition at line 121 of file test_regression.py.

References enr_id, and rx_id.

◆ test_nu()

test_regression._PhysorEnrichment.test_nu ( self)

◆ test_swu()

test_regression._PhysorEnrichment.test_swu ( self)

◆ test_xactions1()

test_regression._PhysorEnrichment.test_xactions1 ( self)

Definition at line 146 of file test_regression.py.

◆ test_xactions2()

test_regression._PhysorEnrichment.test_xactions2 ( self)

Member Data Documentation

◆ enr_id

test_regression._PhysorEnrichment.enr_id = cls.find_ids(":cycamore:Enrichment", tbl)

Definition at line 119 of file test_regression.py.

Referenced by test_deploy().

◆ rx_id

test_regression._PhysorEnrichment.rx_id = cls.find_ids(":cycamore:Reactor", tbl)

Definition at line 118 of file test_regression.py.

Referenced by test_deploy(), and test_xactions2().


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