Skip to content

Commit 9ae76ed

Browse files
Round min max values
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
1 parent c9990bb commit 9ae76ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/tests/test_datasets_earth_dist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_earth_dist_01d_with_region():
3434
npt.assert_allclose(data.lat, np.arange(-5, 6, 1))
3535
npt.assert_allclose(data.lon, np.arange(-10, 11, 1))
3636
npt.assert_allclose(data.min(), -1081.94, atol=0.01)
37-
npt.assert_allclose(data.max(), 105.17999, atol=0.01)
37+
npt.assert_allclose(data.max(), 105.18, atol=0.01)
3838

3939

4040
def test_earth_dist_01m_default_registration():
@@ -50,4 +50,4 @@ def test_earth_dist_01m_default_registration():
5050
assert data.coords["lon"].data.min() == -10.0
5151
assert data.coords["lon"].data.max() == -9.0
5252
npt.assert_allclose(data.min(), -243.62, atol=0.01)
53-
npt.assert_allclose(data.max(), 2.939995, atol=0.01)
53+
npt.assert_allclose(data.max(), 2.94, atol=0.01)

0 commit comments

Comments
 (0)