armi.reactor.blueprints.tests.test_gridBlueprints module

Tests for grid blueprints.

class armi.reactor.blueprints.tests.test_gridBlueprints.TestGridBPRoundTrip(methodName='runTest')[source]

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_contents()[source]
test_roundTrip()[source]

Test saving blueprint data to a stream.

Test Case: Grid blueprints can be written to disk. T_ARMI_BP_TO_DB0
signature: test_roundTrip
requirements: R_ARMI_BP_TO_DB
test_tinyMap()[source]

Test that a lattice map can be defined, written, and read in from blueprint file.

Test Case: Define a lattice map in reactor core. T_ARMI_BP_GRID1
signature: test_tinyMap
requirements: R_ARMI_BP_GRID
class armi.reactor.blueprints.tests.test_gridBlueprints.TestGridBlueprintsSection(methodName='runTest')[source]

Bases: TestCase

Tests for lattice blueprint section.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_simpleRead()[source]
test_simpleReadLatticeMap()[source]

Read lattice map and create a grid.

Test Case: Define a lattice map in reactor core. T_ARMI_BP_GRID0
signature: test_simpleReadLatticeMap
requirements: R_ARMI_BP_GRID
test_simpleReadNoLatticeMap()[source]
class armi.reactor.blueprints.tests.test_gridBlueprints.TestRZTGridBlueprint(methodName='runTest')[source]

Bases: TestCase

Tests for R-Z-Theta grid inputs.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_construct()[source]
test_geomFile()[source]