Skip to content

Commit d1921a9

Browse files
test_valid_input_exact_match almost equal
1 parent 392be53 commit d1921a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_geophires_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def test_valid_input_midpoint_range(self):
320320

321321
def test_valid_input_exact_match(self):
322322
result = heat_capacity_water_J_per_kg_per_K(25)
323-
assert result == 4181.599569862515
323+
self.assertAlmostEqual(4181.599569862515, result, places=3)
324324

325325
def test_invalid_input_less_than_minimum(self):
326326
with self.assertRaises(ValueError):

0 commit comments

Comments
 (0)