armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct module

Tests for lumpedFissionProduce module

armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.getDummyLFPFile()[source]
class armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.TestFissionProductDefinitionFile(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test of the fission product model

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_createLFPs()[source]

Test of the fission product model creation

test_createReferenceLFPs()[source]

Test of the reference fission product model creation

class armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.TestLumpedFissionProduct(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test of the lumped fission product yields

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_setGasRemovedFrac()[source]

Test of the set gas removal fraction

test_getYield()[source]

Test of the yield of a fission product

test_getNumberFracs()[source]
test_getExpandedMass()[source]
test_getGasFraction()[source]

Test of the get gas removal fraction

test_printDensities()[source]
test_getLanthanideFraction()[source]

Test of the lanthanide fraction function

class armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.TestLumpedFissionProductCollection(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test of the fission product collection

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_getAllFissionProductNames()[source]

Test to ensure the fission product names are present

test_getAllFissionProductNuclideBases()[source]

Test to ensure the fission product nuclide bases are present

test_getGasRemovedFrac()[source]
test_duplicate()[source]

Test to ensure that when we duplicate, we don’t adjust the original file

test_getNumberDensities()[source]
test_getMassFrac()[source]
class armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.TestMo99LFP(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test of the fission product model from Mo99

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_getAllFissionProductNames()[source]

Test to ensure that Mo99 is present, but other FP are not

class armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.TestExpandCollapse(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test of the ability of the fission product file to expand from the LFPs

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_expand()[source]
test_collapse()[source]