armi.reactor.tests.test_assemblies module¶
Tests assemblies.py
- armi.reactor.tests.test_assemblies.buildTestAssemblies()[source]¶
Build some assembly objects that will be used in testing.
- This builds 2 HexBlocks:
One with half UZr pins and half UTh pins
One with all UThZr pins
- class armi.reactor.tests.test_assemblies.MaterialInAssembly_TestCase(methodName='runTest')[source]¶
Bases:
unittest.case.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.
- armi.reactor.tests.test_assemblies.makeTestAssembly(numBlocks, assemNum, spatialGrid=<HexGrid -- 140232573178832 Bounds: None None None Steps: [0.8660254 0. 0. ] [0.5 1. 0. ] [0. 0. 0.] Anchor: None Offset: [0. 0. 0.] Num Locations: 2500>, r=None)[source]¶
- class armi.reactor.tests.test_assemblies.Assembly_TestCase(methodName='runTest')[source]¶
Bases:
unittest.case.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_carestianCoordinates()[source]¶
Check the coordinates of the assembly within the core with a CarestianGrid.
- class armi.reactor.tests.test_assemblies.AssemblyInReactor_TestCase(methodName='runTest')[source]¶
Bases:
unittest.case.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.
- class armi.reactor.tests.test_assemblies.AnnularFuelTestCase(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
Test fuel with a whole in the center
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.