10.1.2.1.2. armicontrib.dif3d.tests.test_dif3dBinaryIO module

Test reading/writing of the DIF3D-generated binary file entitled DIF3D.

This is a small file that contains high-level info about a DIF3D run.

class armicontrib.dif3d.tests.test_dif3dBinaryIO.TestDIF3DIO(methodName='runTest')[source]

Bases: unittest.case.TestCase

Ensure we can read/write DIF3D binary files.

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.

testReadKeff()[source]
testReadDominanceRatio()[source]
testWrite()[source]

Ensure that we can write a modified DIF3D file.

class armicontrib.dif3d.tests.test_dif3dBinaryIO.TestPKEDIT(methodName='runTest')[source]

Bases: unittest.case.TestCase

Ensure we can read/write PKEDIT binary files.

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.

testRead()[source]
testWrite()[source]

Ensure that we can write a modified PKEDIT file.