Skip to content
Snippets Groups Projects
Commit 34bcb070 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Merge branch 'tests' into 'master'

Tests

See merge request ghsc/nshmp/nshmp-netcdf!59
parents e241e05a bea4bed3
No related branches found
No related tags found
1 merge request!59Tests
Pipeline #37527 passed
......@@ -9,7 +9,7 @@ class NshmGroupTests {
@Test
final void testCONUS_2018() {
assertEquals(NshmGroup.CONUS_2018A.toString(), "2018 Conterminous U.S. NSHM");
assertEquals(NshmGroup.CONUS_2018A.baseGroup(), "/NSHM_2018A/CONUS");
assertEquals(NshmGroup.CONUS_2018A.baseGroup(), "/CONUS/2018/v1.1");
assertEquals(NshmGroup.CONUS_2018A.locationPrecision(), 2);
}
......
......@@ -40,7 +40,7 @@ import gov.usgs.earthquake.nshmp.netcdf.reader.StaticHazards;
public class NshmNetcdfReaderTests {
static final String CONUS_TEST_FILE = "nshmp-conus-test-fv.0.4.nc";
static final String CONUS_TEST_FILE = "nshmp-conus-test-fv.0.3.nc";
static final Path NETCDF_PATH = Paths.get(Resources.getResource(CONUS_TEST_FILE).getPath());
static final String TEST_INVALID_NC_FILE = "invalid-netcdf-file.nc";
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment