armi.matProps.dataSchema.tests.test_parameter module
Unit tests for the parameter related data in the material data file schema.
- class armi.matProps.dataSchema.tests.test_parameter.TestParameter(methodName='runTest')[source]
Bases:
TestCaseCreate 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_maxDegreesCTest()[source]
This YAML contains an incorrect value for “max degrees C”. Only numbers are allowed, so the string “test” will be caught.
- test_minDegreeCTest()[source]
This YAML contains an incorrect value for “min degrees C”. Only numbers are allowed, so the string “test” will be caught.
- test_missingFxnTypePW()[source]
This YAML is missing “function type” inside the piecewise function.
- test_polyMissingCoef()[source]
This file is missing the “coefficients” property of the polynomial function.