Skip to content

Commit

Permalink
Improving fluid material expansion test
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Jan 12, 2024
1 parent 9c069fc commit 66d86e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions armi/materials/tests/test_materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,13 +981,13 @@ def test_volumetricExpansion(self):
def test_linearExpansion(self):
"""Unit tests for lead materials linear expansion.
.. test:: There is a base class for fluid materials.
.. test:: Fluid materials do not linearly expand, at any temperature.
:id: T_ARMI_MAT_FLUID2
:tests: R_ARMI_MAT_FLUID
"""
cur = self.mat.linearExpansion(400)
ref = 0.0
self.assertEqual(cur, ref)
for t in range(300, 901, 25):
cur = self.mat.linearExpansion(t)
self.assertEqual(cur, 0)

def test_setDefaultMassFracs(self):
"""
Expand Down

0 comments on commit 66d86e0

Please sign in to comment.