diff --git a/src/test/java/gov/usgs/earthquake/nshmp/netcdf/NshmGroupTests.java b/src/test/java/gov/usgs/earthquake/nshmp/netcdf/NshmGroupTests.java new file mode 100644 index 0000000000000000000000000000000000000000..505fc694a77791796e4a8e4d6de628c00e73702d --- /dev/null +++ b/src/test/java/gov/usgs/earthquake/nshmp/netcdf/NshmGroupTests.java @@ -0,0 +1,16 @@ +package gov.usgs.earthquake.nshmp.netcdf; + +import static org.junit.Assert.assertEquals; + +import org.junit.jupiter.api.Test; + +class NshmGroupTests { + + @Test + final void testCONUS_2018() { + assertEquals(NshmGroup.CONUS_2018.toString(), "2018 Conterminous U.S. NSHM"); + assertEquals(NshmGroup.CONUS_2018.baseGroup(), "/CONUS/2018/v1.1"); + assertEquals(NshmGroup.CONUS_2018.locationPrecision(), 2); + } + +}