armi.matProps.tests.test_tableFunctions module

Tests 1D and 2D table Functions.

class armi.matProps.tests.test_tableFunctions.TestTableFunctions(methodName='runTest')[source]

Bases: MatPropsFunTestBase

Tests 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_interpolation1Dtable()[source]

Test interpolation for a two-point one-dimensional table.

test_interpolation1DtableMissnode()[source]

Test to make sure a KeyError is thrown if ‘tabulated data’ node is absent.

test_interpolation1Dtable2()[source]

Test interpolation for a many-point one-dimensional table.

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.

test_table2DsetBounds()[source]
test_inputCheckTable2DMaxVar2()[source]

Ensure an ValueError is raised when evaluating above the valid range.

test_calcSpec2dEdgeCase()[source]