armi.matProps.tests.test_tableFunctions module
Tests 1D and 2D table Functions.
- class armi.matProps.tests.test_tableFunctions.TestTableFunctions(methodName='runTest')[source]
Bases:
MatPropsFunTestBaseTests 1D and 2D table Functions.
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_interpolation1DtableMissnode()[source]
Test to make sure a KeyError is thrown if ‘tabulated data’ node is absent.
- test_interpolation1DtableInt()[source]
Test interpolation for one-dimensional tables with all integer values.
- test_interpolationTable2D()[source]
Test that evaluates TableFunction2D for different combinations of integer and floating values.
- test_interpolationTable2DMissNode()[source]
Test to make sure TableFunction2D throws a KeyError if ‘tabulated data’ node is absent.
- test_inputCheckTable2Doutbounds()[source]
Ensure a ValueError is thrown when evaluating out of the valid bounds.
- test_inputCheckTableMinVar()[source]
Test to make sure an error is raised when attempting to evaluate below the valid range.
- test_inputCheckTableMaxVar()[source]
Test to make sure an error is raised when attempting to evaluate above the valid range.
- test_inputCheckTable2DMinVar1()[source]
Test to make sure an error is raised when attempting to evaluate below the valid range.
- test_inputCheckTable2DMaxVar1()[source]
Test to make sure an error is raised when attempting to evaluate above the valid range.
- test_inputCheckTable2DMinVar2()[source]
Ensure an ValueError is raised when evaluating below the valid range.