Skip to content

Commit

Permalink
Add unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjarrett committed Jan 31, 2025
1 parent fa11f7a commit 70bacf0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions armi/physics/neutronics/tests/test_crossSectionManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,13 @@ def test_getNextAvailableXsType(self):
self.assertEqual("C", xsType2)
self.assertEqual("D", xsType3)

# verify that we can get lowercase letters
xsTypes = self.csm.getNextAvailableXsTypes(27)
self.assertEqual("Y", xsTypes[-4])
self.assertEqual("a", xsTypes[-3])
self.assertEqual("b", xsTypes[-2])
self.assertEqual("c", xsTypes[-1])

def test_getRepresentativeBlocks(self):
"""Test that we can create the representative blocks for a reactor.
Expand Down

0 comments on commit 70bacf0

Please sign in to comment.