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

add check

parent 9138ef3d
No related branches found
No related tags found
1 merge request!793Test Web Service
......@@ -195,8 +195,9 @@ class NshmTestUtils {
Nshm nshm,
NamedLocation location,
Optional<Path> dataPath) throws InterruptedException, ExecutionException {
Map<String, XySequence> actual =
HazardServiceUtils.generateActual(location, nshm.imts());
Map<String, XySequence> actual = dataPath.isPresent()
? readExpected(nshm, location, dataPath)
: HazardServiceUtils.generateActual(location, nshm.imts());
Map<String, XySequence> expected = readExpected(nshm, location, Optional.empty());
for (String key : actual.keySet()) {
......
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