armi.nuclearDataIO.cccc.tests.test_isotxs module

Tests the workings of the library wrappers.

class armi.nuclearDataIO.cccc.tests.test_isotxs.TestIsotxs(methodName='runTest')[source]

Bases: TestCase

Tests the ISOTXS class.

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

Test reading in an ISOTXS file, and then writing it back out again.

Now, the library here can’t guarantee the output will be the same as the input. But we can guarantee the written file is still valid, by reading it again.

test_isotxsGeneralData()[source]
test_isotxsDetailedData()[source]
test_getScatteringWeights()[source]
test_getNuclide()[source]
test_n2nIsReactionBased()[source]

ARMI assumes ISOTXS n2n reactions are all reaction-based. Test this.

The alternative is production based. Previous studies show that MC**2-2 is reaction based.

test_getScatterWeights()[source]
test_getISOTXSFileName()[source]
test_getGAMISOFileName()[source]
class armi.nuclearDataIO.cccc.tests.test_isotxs.Isotxs_merge_Tests(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_mergeMccV2FilesRemovesTheFileWideChi()[source]

Test merging ISOTXS files.