armi.physics.fuelCycle.tests.test_utils module

class armi.physics.fuelCycle.tests.test_utils.FuelCycleUtilsTests(methodName='runTest')[source]

Bases: TestCase

Tests for geometry indifferent fuel cycle routines.

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.

N_PINS = 169
test_maxBurnupLocationFromComponents()[source]

Test that the Component.p.pinPercentBu parameter can reveal max burnup location.

test_singleLocatorWithBurnup()[source]

Test that a single component with burnup can be used to find the highest burnup.

test_maxBurnupLocatorWithNoBurnup()[source]

Ensure we catch an error if no burnup is found across components.

test_maxBurnupLocatorMismatchedData()[source]

Ensure pin burnup and locations must agree.

test_assemblyHasPinPower()[source]

Test the ability to check if an assembly has fuel pin powers.

test_assemblyHasPinBurnups()[source]

Test the ability to check if an assembly has fuel pin burnup.

test_maxBurnupBlock()[source]

Test the ability to find maximum burnup block in an assembly.

test_maxBurnupBlockNoBlocks()[source]

Ensure a more helpful error is provided for empty sequence.

test_maxBurnupBlockNoBurnup()[source]

Ensure that we will not return a block with zero burnup.