From 66d86e04adb7509f0832a4b23426c323fb8a8417 Mon Sep 17 00:00:00 2001 From: jstilley Date: Fri, 12 Jan 2024 09:51:52 -0800 Subject: [PATCH] Improving fluid material expansion test --- armi/materials/tests/test_materials.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/armi/materials/tests/test_materials.py b/armi/materials/tests/test_materials.py index abc79f455..aa670d947 100644 --- a/armi/materials/tests/test_materials.py +++ b/armi/materials/tests/test_materials.py @@ -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): """