armi.reactor.blueprints.tests.test_blockBlueprints module

Tests for block blueprints.

class armi.reactor.blueprints.tests.test_blockBlueprints.TestGriddedBlock(methodName='runTest')[source]

Bases: TestCase

Tests for a block that has components in a lattice.

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_constructSpatialGrid()[source]

Test intermediate grid construction function.

test_getLocatorsAtLatticePositions()[source]

Ensure extraction of specifiers results in locators.

test_blockLattice()[source]

Make sure constructing a block with grid specifiers works as a whole.

test_nonLatticeComponentHasRightMult()[source]

Make sure non-grid components in blocks with grids get the right multiplicity.

test_explicitFlags()[source]

Test flags are created from blueprint file.

test_densityConsistentWithComponentConstructor()[source]