armi.reactor.tests.test_cores module

class armi.reactor.tests.test_cores.HexCoreTests(methodName='runTest')[source]

Bases: TestCase

Tests on a hex reactor core.

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.

assertAllIs(actuals: Iterable[Any], expecteds: Iterable[Any], fill=None)[source]

Assert that all items in two iterables are the same objects.

test_getAllAssem()[source]

Test the ability to produce all assemblies.

test_getAllAssemWithFlag()[source]

Test the ability to produce assemblies with a flag.

test_getAssemsInZones()[source]

Test the ability to produce assemblies in a zone.

test_getBlocks()[source]

Test the ability to get all blocks in the core.

test_getBlocksWithFlag()[source]

Test the ability to get all blocks with a flag in the core.

test_traverseAllBlocks()[source]

Test the ability to iterate over all blocks in the core.

test_traverseAllBlocksWithFlag()[source]

Test the ability to traverse blocks in the core with a flag.

test_traverseBlocksWithPredicate()[source]

Test the ability to traverse blocks that meet some criteria with a flag.