Skip to content

Commit

Permalink
updated some test files
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrose committed Nov 14, 2023
1 parent 7c6f105 commit 2ff6222
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ outputFile, new AggregationOverrides(), null, bbox, null, null
netcdfAggregator.add(resourcePath("au/org/emii/aggregator/projection-2.nc"));
}

assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-expected.nc"), outputFile);
if (libraryVersion.startsWith("4.8")) {
assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-expected-4.8.nc"), outputFile);
} else {
assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-expected.nc"), outputFile);
}
}

@Test
Expand All @@ -223,7 +227,11 @@ outputFile, new AggregationOverrides(), null, bbox, null, null
netcdfAggregator.add(resourcePath("au/org/emii/aggregator/projection-2.nc"));
}

assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-point-within-expected.nc"), outputFile);
if (libraryVersion.startsWith("4.8")) {
assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-point-within-expected-4.8.nc"), outputFile);
} else {
assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-point-within-expected.nc"), outputFile);
}
}

@Test
Expand All @@ -237,7 +245,11 @@ outputFile, new AggregationOverrides(), null, bbox, null, null
netcdfAggregator.add(resourcePath("au/org/emii/aggregator/projection-2.nc"));
}

assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-point-outside-expected.nc"), outputFile);
if (libraryVersion.startsWith("4.8")) {
assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-point-outside-expected-4.8.nc"), outputFile);
} else {
assertNetcdfFilesEqual(resourcePath("au/org/emii/aggregator/projection-point-outside-expected.nc"), outputFile);
}
}

@Test(expected = AggregationException.class)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified lambda/job-status-service-lambda-package.zip
Binary file not shown.
Binary file modified lambda/request-handler-lambda-package.zip
Binary file not shown.

0 comments on commit 2ff6222

Please sign in to comment.