Skip to content

Commit cde1a15

Browse files
committed
added test
1 parent 753bd94 commit cde1a15

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pygmt/tests/test_datasets_tutorial.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Test basic functionality for loading datasets for tutorials.
33
"""
44
from pygmt.datasets import (
5+
load_fractures_compilation,
56
load_japan_quakes,
67
load_ocean_ridge_points,
78
load_sample_bathymetry,
@@ -58,3 +59,11 @@ def test_usgs_quakes():
5859
"""
5960
data = load_usgs_quakes()
6061
assert data.shape == (1197, 22)
62+
63+
64+
def fractures_compilation():
65+
"""
66+
Check that the dataset loads without errors.
67+
"""
68+
data = load_fractures_compilation()
69+
assert data.shape == (360, 2)

0 commit comments

Comments
 (0)