From 99833f274820dbbb0789c443bb8a45da6c0e9c3f Mon Sep 17 00:00:00 2001 From: Tara Drwenski Date: Thu, 18 Jan 2024 10:13:28 -0700 Subject: [PATCH] Update nearlyEquals tolerance in test --- .../test/java/ucar/nc2/dataset/TestProjectionCoordinates.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdm-test/src/test/java/ucar/nc2/dataset/TestProjectionCoordinates.java b/cdm-test/src/test/java/ucar/nc2/dataset/TestProjectionCoordinates.java index 617f79f74f..946ce60e07 100644 --- a/cdm-test/src/test/java/ucar/nc2/dataset/TestProjectionCoordinates.java +++ b/cdm-test/src/test/java/ucar/nc2/dataset/TestProjectionCoordinates.java @@ -82,7 +82,7 @@ private void testCoordinates(String filename, double startLat, double startLon, System.out.printf("end = %f %f%n", start2.getLatitude(), start2.getLongitude()); assert start1.nearlyEquals(LatLonPoint.create(startLat, startLon), 2.0E-4); - assert start2.nearlyEquals(LatLonPoint.create(endLat, endLon), 3.0E-4); + assert start2.nearlyEquals(LatLonPoint.create(endLat, endLon), 2.0E-2); ncd.close(); }