armi.nuclearDataIO.cccc.tests.test_cccc module

Test CCCC.

class armi.nuclearDataIO.cccc.tests.test_cccc.CcccIOStreamTests(methodName='runTest')[source]

Bases: unittest.case.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_initWithFileMode()[source]
class armi.nuclearDataIO.cccc.tests.test_cccc.CcccBinaryRecordTests(methodName='runTest')[source]

Bases: unittest.case.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_writeAndReadSimpleIntegerRecord()[source]
test_writeAndReadSimpleFloatRecord()[source]
test_writeAndReadSimpleStringRecord()[source]
test_notReadingAnEntireRecordRaisesException()[source]
test_readingBeyondRecordRaisesException()[source]
class armi.nuclearDataIO.cccc.tests.test_cccc.CcccAsciiRecordTests(methodName='runTest')[source]

Bases: armi.nuclearDataIO.cccc.tests.test_cccc.CcccBinaryRecordTests

Runs the same tests as CcccBinaryRecordTests, but using ASCII readers and writers.

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.