armi.nuclearDataIO.cccc.tests.test_dif3d module

Test reading/writing of DIF3D binary input.

class armi.nuclearDataIO.cccc.tests.test_dif3d.TestDif3dSimpleHexz(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__rwFileID()[source]

Verify the file identification info.

Test Case: Test reading DIF3D files. T_ARMI_NUCDATA_DIF3D0
signature: test__rwFileID
requirements: R_ARMI_NUCDATA_DIF3D
test__rwFile1DRecord()[source]

Verify the rest of the metadata.

Test Case: Test reading DIF3D files. T_ARMI_NUCDATA_DIF3D1
signature: test__rwFile1DRecord
requirements: R_ARMI_NUCDATA_DIF3D
test__rw2DRecord()[source]

Verify the control parameters.

test__rw3DRecord()[source]

Verify the convergence criteria and other floating point data.

test__rw4DRecord()[source]

Verify the optimum overrelaxation factors.

test__rw5DRecord()[source]

Verify the axial coarse-mesh rebalance boundaries.

test_writeBinary()[source]

Verify binary equivalence of written DIF3D file.

Test Case: Test writing DIF3D files. T_ARMI_NUCDATA_DIF3D2
signature: test_writeBinary
requirements: R_ARMI_NUCDATA_DIF3D
class armi.nuclearDataIO.cccc.tests.test_dif3d.TestDif3dEmptyRecords(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_empty4and5Records()[source]

Since the inputs results in these being None, get test coverage another way.