armi.nuclearDataIO.cccc.tests.test_cccc module

Test CCCC.

class armi.nuclearDataIO.cccc.tests.test_cccc.TestCcccIOStream(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_initWithFileMode()[source]
class armi.nuclearDataIO.cccc.tests.test_cccc.TestCcccBinaryRecord(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_writeAndReadSimpleIntegerRecord()[source]
test_writeAndReadSimpleFloatRecord()[source]
test_writeAndReadSimpleStringRecord()[source]
test_readPartialRecord()[source]

Not reading an entire record raises an exception.

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

Bases: TestCcccBinaryRecord

Runs the same tests as TestCcccBinaryRecord, 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.