Skip to content

Commit

Permalink
Adding another test
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Jul 26, 2024
1 parent e911a88 commit aec7df3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions armi/reactor/tests/test_reactors.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,11 @@ def test_genBlocksByLocName(self):
self.assertGreater(len(self.r.core.blocksByLocName), 300)
self.assertIn("009-009-004", self.r.core.blocksByLocName)

def test_setPitchUniform(self):
self.r.core.setPitchUniform(0.0)
for b in self.r.core.getBlocks():
self.assertEqual(b.getPitch(), 0.0)

def test_countBlocksOfType(self):
numControlBlocks = self.r.core.countBlocksWithFlags([Flags.DUCT, Flags.CONTROL])

Expand Down

0 comments on commit aec7df3

Please sign in to comment.