armi.utils.tests.test_densityTools module

Test densityTools.

class armi.utils.tests.test_densityTools.Test_densityTools(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_expandElementalMassFracsToNuclides()[source]
test_expandElementalZeroMassFrac()[source]

As above, but try with a zero mass frac elemental.

test_getChemicals()[source]
test_expandElement()[source]

Ensure isotopic subset feature works in expansion.

test_applyIsotopicsMix()[source]

Ensure isotopc classes get mixed properly.

test_getMassFractions()[source]
test_calculateNumberDensity()[source]
test_getMassInGrams()[source]
test_normalizeNuclideList()[source]
test_formatMaterialCard()[source]