armi.physics.neutronics.tests.test_energyGroups module

Energy group tests.

class armi.physics.neutronics.tests.test_energyGroups.TestEnergyGroups(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_invalidGroupStructureType()[source]

Test that the reverse lookup fails on non-existent energy group bounds.

test_consistenciesBetweenGroupStructureAndGroupStructureType()[source]

Test that the reverse lookup of the energy group structures work.

Notes

Several group structures point to the same energy group structure so the reverse lookup will fail to get the correct group structure type.