Skip to content

Commit

Permalink
Refactor Rothermel test to use 2 decimal places for comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
doyled-it committed Jul 9, 2024
1 parent 416659f commit 3dc2def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simfire/world/_tests/test_rothermel.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ def test_compute_rate_of_spread(self) -> None:
slope_dir,
)
for i, r in enumerate(R.tolist()):
self.assertAlmostEqual(r, KNOWN_ROTHERMEL_OUTPUT[i], places=4)
self.assertAlmostEqual(r, KNOWN_ROTHERMEL_OUTPUT[i], places=2)

0 comments on commit 3dc2def

Please sign in to comment.