Skip to content

Commit

Permalink
test_valid_input_exact_match almost equal
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed Mar 1, 2024
1 parent 392be53 commit d1921a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_geophires_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def test_valid_input_midpoint_range(self):

def test_valid_input_exact_match(self):
result = heat_capacity_water_J_per_kg_per_K(25)
assert result == 4181.599569862515
self.assertAlmostEqual(4181.599569862515, result, places=3)

def test_invalid_input_less_than_minimum(self):
with self.assertRaises(ValueError):
Expand Down

0 comments on commit d1921a9

Please sign in to comment.