From 70bacf02c5ca6964b46862585b67eb7a6a72626d Mon Sep 17 00:00:00 2001 From: Michael Jarrett Date: Fri, 31 Jan 2025 08:14:24 -0800 Subject: [PATCH] Add unit test. --- armi/physics/neutronics/tests/test_crossSectionManager.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/armi/physics/neutronics/tests/test_crossSectionManager.py b/armi/physics/neutronics/tests/test_crossSectionManager.py index 219d852fb..955b0158a 100644 --- a/armi/physics/neutronics/tests/test_crossSectionManager.py +++ b/armi/physics/neutronics/tests/test_crossSectionManager.py @@ -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.