armi.utils.tests package
Submodules
- armi.utils.tests.test_asciimaps module
TestAsciiMaps
TestAsciiMaps.test_cartesian()
TestAsciiMaps.test_hexThird()
TestAsciiMaps.test_hexWithHoles()
TestAsciiMaps.test_hexWithEmptyRow()
TestAsciiMaps.test_troublesomeHexThird()
TestAsciiMaps.test_hexFull()
TestAsciiMaps.test_hexFullFlat()
TestAsciiMaps.test_hexSmallFlat()
TestAsciiMaps.test_flatHexBases()
- armi.utils.tests.test_codeTiming module
- armi.utils.tests.test_custom_exceptions module
CustomExceptionTests
CustomExceptionTests.exampleInfoMessage()
CustomExceptionTests.test_info_decorator()
CustomExceptionTests.exampleImportantMessage()
CustomExceptionTests.test_important_decorator()
CustomExceptionTests.exampleWarnMessage()
CustomExceptionTests.test_warn_decorator()
CustomExceptionTests.exampleWarnWhenRootMessage()
CustomExceptionTests.test_warn_when_root_decorator()
- armi.utils.tests.test_densityTools module
UraniumOxide
TestDensityTools
TestDensityTools.test_expandElementalMassFracsToNuclides()
TestDensityTools.test_expandElementalZeroMassFrac()
TestDensityTools.test_getChemicals()
TestDensityTools.test_expandElement()
TestDensityTools.test_applyIsotopicsMix()
TestDensityTools.test_getNDensFromMasses()
TestDensityTools.test_getMassFractions()
TestDensityTools.test_calculateNumberDensity()
TestDensityTools.test_getMassInGrams()
TestDensityTools.test_normalizeNuclideList()
TestDensityTools.test_formatMaterialCard()
- armi.utils.tests.test_directoryChangers module
ExpectedException
TestDirectoryChangers
TestDirectoryChangers.test_mpiAction()
TestDirectoryChangers.test_mpiActionFailsOnNonexistentPath()
TestDirectoryChangers.test_exception()
TestDirectoryChangers.test_exception_disabled()
TestDirectoryChangers.test_change_to_nonexisting_fails()
TestDirectoryChangers.test_change_to_nonexisting_works_forced()
TestDirectoryChangers.test_temporary_cleans()
TestDirectoryChangers.test_file_retrieval()
TestDirectoryChangers.test_file_retrieval_missing_file()
- armi.utils.tests.test_dochelpers module
- armi.utils.tests.test_flags module
- armi.utils.tests.test_hexagon module
- armi.utils.tests.test_iterables module
TestIterables
TestIterables.test_flatten()
TestIterables.test_chunk()
TestIterables.test_split()
TestIterables.test_packingAndUnpackingBinaryStrings()
TestIterables.test_packingAndUnpackingHexStrings()
TestIterables.test_sequenceInit()
TestIterables.test_sequence()
TestIterables.test_copySequence()
TestIterables.test_extendSequence()
TestIterables.test_appendSequence()
TestIterables.test_addingSequences()
- armi.utils.tests.test_mathematics module
TestMath
TestMath.test_average1DWithinTolerance()
TestMath.test_average1DWithinToleranceInvalid()
TestMath.test_convertToSlice()
TestMath.test_efmt()
TestMath.test_expandRepeatedFloats()
TestMath.test_findClosest()
TestMath.test_findNearestValue()
TestMath.test_fixThreeDigitExp()
TestMath.test_getFloat()
TestMath.test_getStepsFromValues()
TestMath.test_isMonotonic()
TestMath.test_linearInterpolation()
TestMath.test_minimizeScalarFunc()
TestMath.test_newtonsMethod()
TestMath.test_parabola()
TestMath.test_parabolicInterpolation()
TestMath.test_relErr()
TestMath.test_resampleStepwiseAvg0()
TestMath.test_resampleStepwiseAvg1()
TestMath.test_resampleStepwiseAvg2()
TestMath.test_resampleStepwiseAvg3()
TestMath.test_resampleStepwiseAvg4()
TestMath.test_resampleStepwiseAvg5()
TestMath.test_resampleStepwiseAvg6()
TestMath.test_resampleStepwiseAvg7()
TestMath.test_resampleStepwiseSum0()
TestMath.test_resampleStepwiseSum1()
TestMath.test_resampleStepwiseSum2()
TestMath.test_resampleStepwiseSum3()
TestMath.test_resampleStepwiseSum4()
TestMath.test_resampleStepwiseSum5()
TestMath.test_resampleStepwiseSum6()
TestMath.test_resampleStepwiseSum7()
TestMath.test_resampleStepwiseAvgAllNones()
TestMath.test_resampleStepwiseAvgOneNone()
TestMath.test_resampleStepwiseSumAllNones()
TestMath.test_resampleStepwiseSumOneNone()
TestMath.test_resampleStepwiseAvgComplicatedNone()
TestMath.test_resampleStepwiseAvgNpArray()
TestMath.test_resampleStepwiseAvgNpArrayAverage()
TestMath.test_rotateXY()
- armi.utils.tests.test_outputCache module
- armi.utils.tests.test_parsing module
- armi.utils.tests.test_pathTools module
- armi.utils.tests.test_plotting module
- armi.utils.tests.test_properties module
- armi.utils.tests.test_reportPlotting module
- armi.utils.tests.test_textProcessors module
- armi.utils.tests.test_triangle module
- armi.utils.tests.test_units module
- armi.utils.tests.test_utils module
TestGeneralUtils
TestGeneralUtils.test_mergeableDictionary()
TestGeneralUtils.test_createFormattedStrWithDelimiter()
TestGeneralUtils.test_capStrLen()
TestGeneralUtils.test_list2str()
TestGeneralUtils.test_slantSplit()
TestGeneralUtils.test_prependToList()
TestGeneralUtils.test_plotMatrix()
TestGeneralUtils.test_classesInHierarchy()
TestGeneralUtils.test_codeTiming()
CyclesSettingsTests
CyclesSettingsTests.detailedCyclesSettings
CyclesSettingsTests.simpleCyclesSettings
CyclesSettingsTests.powerFractionsDetailedSolution
CyclesSettingsTests.powerFractionsSimpleSolution
CyclesSettingsTests.cycleNamesDetailedSolution
CyclesSettingsTests.cycleNamesSimpleSolution
CyclesSettingsTests.availabilityFactorsDetailedSolution
CyclesSettingsTests.availabilityFactorsSimpleSolution
CyclesSettingsTests.stepLengthsDetailedSolution
CyclesSettingsTests.stepLengthsSimpleSolution
CyclesSettingsTests.cycleLengthsDetailedSolution
CyclesSettingsTests.cycleLengthsSimpleSolution
CyclesSettingsTests.burnStepsDetailedSolution
CyclesSettingsTests.burnStepsSimpleSolution
CyclesSettingsTests.nodesPerCycleDetailedSolution
CyclesSettingsTests.nodesPerCycleSimpleSolution
CyclesSettingsTests.maxBurnStepsDetailedSolution
CyclesSettingsTests.maxBurnStepsSimpleSolution
CyclesSettingsTests.test_getPowerFractions()
CyclesSettingsTests.test_getCycleNames()
CyclesSettingsTests.test_getAvailabilityFactors()
CyclesSettingsTests.test_getStepLengths()
CyclesSettingsTests.test_getCycleLengths()
CyclesSettingsTests.test_getBurnSteps()
CyclesSettingsTests.test_hasBurnup()
CyclesSettingsTests.test_getMaxBurnSteps()
CyclesSettingsTests.test_getNodesPerCycle()
CyclesSettingsTests.test_getCycleNodeFromCumulativeStep()
CyclesSettingsTests.test_getCycleNodeFromCumulativeNode()
CyclesSettingsTests.test_getPreviousTimeNode()
CyclesSettingsTests.test_getCumulativeNodeNum()