armi.matProps.tests.test_constituent module

Basic tests of the Constituent class.

class armi.matProps.tests.test_constituent.TestConstituent(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_errorHandling()[source]
test_parseComposition()[source]

Test some basic cases for parsing material composition from the YAML custom format.

Test Case: The mandatory "composition" YAML field defines material composition. T_ARMI_MAT_FRACS0
signature: test_parseComposition
requirements: R_ARMI_MAT_FRACS