armi.nuclearDataIO.cccc.tests.test_pmatrx module

Tests the workings of the library wrappers.

class armi.nuclearDataIO.cccc.tests.test_pmatrx.TestPmatrxNuclides(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_pmatrxNuclideDataAA()[source]
test_pmatrxNuclideDataAB()[source]
test_nuclideDataIsDifferent()[source]
test_getPMATRXFileName()[source]
class armi.nuclearDataIO.cccc.tests.test_pmatrx.TestPmatrx(methodName='runTest')[source]

Bases: TestCase

Tests the Pmatrx gamma production matrix.

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_pmatrxGammaEnergies()[source]
test_pmatrxNeutronEnergies()[source]
test_pmatrxNuclideNames()[source]
test_pmatrxDoesntHaveDoseConversionFactors()[source]
class armi.nuclearDataIO.cccc.tests.test_pmatrx.TestProductionMatrix_FromWritten(methodName='runTest')[source]

Bases: TestPmatrx

Tests related to reading a PMATRX that was written by ARMI.

Note that this runs all the tests from TestPmatrx.

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

Make sure our writer produces something identical to the original.

class armi.nuclearDataIO.cccc.tests.test_pmatrx.TestProductionMatrix_FromWrittenAscii(methodName='runTest')[source]

Bases: TestPmatrx

Tests that show you can read and write pmatrx files from ascii libraries.

Notes

This runs all the tests from TestPmatrx.

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.