armi.nuclearDataIO.tests.test_xsCollections module¶
Module that tests methods within xsCollections.
- class armi.nuclearDataIO.tests.test_xsCollections.TestXsCollections(methodName='runTest')[source]¶
Bases:
unittest.case.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_generateTotalScatteringMatrix()[source]¶
Generates the total scattering matrix by summing elastic, inelastic, and n2n scattering matrices.
- test_generateTotalScatteringMatrixWithMissingData()[source]¶
Generates the total scattering matrix by summing elastic and n2n scattering matrices.
Notes
This tests that the total scattering matrix can be produced when the inelastic scattering matrix is not defined.
- class armi.nuclearDataIO.tests.test_xsCollections.MockBlock(name=None, cs=None)[source]¶
Bases:
armi.reactor.blocks.HexBlock
- property r¶
- paramCollectionType¶
alias of
armi.reactor.parameters.parameterCollections.BlockParameterCollection