This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a commit to annotated tag 0.8 in repository https://gitbox.apache.org/repos/asf/sis.git
commit 46a9f40a7164d14e10d9c7bcde2123a2d9215615 Author: Martin Desruisseaux <[email protected]> AuthorDate: Tue Oct 31 10:41:22 2017 +0000 Adjust tolerance threshold when SIS is tested without EPSG geodetic dataset. git-svn-id: https://svn.apache.org/repos/asf/sis/branches/0.8@1813871 13f79535-47bb-0310-9956-ffa450edef68 --- .../referencing/operation/DefaultCoordinateOperationFactoryTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultCoordinateOperationFactoryTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultCoordinateOperationFactoryTest.java index 55c45a3..6c24d96 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultCoordinateOperationFactoryTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultCoordinateOperationFactoryTest.java @@ -178,7 +178,7 @@ public final strictfp class DefaultCoordinateOperationFactoryTest extends MathTr assertEquals("linearAccuracy", isUsingEpsgFactory ? 2 : PositionalAccuracyConstant.UNKNOWN_ACCURACY, CRS.getLinearAccuracy(operation), STRICT); - tolerance = isUsingEpsgFactory ? Formulas.LINEAR_TOLERANCE : 100; + tolerance = isUsingEpsgFactory ? Formulas.LINEAR_TOLERANCE : 1000; transform = operation.getMathTransform(); /* * Test using the location of Paris (48.856578°N, 2.351828°E) first, @@ -236,7 +236,7 @@ public final strictfp class DefaultCoordinateOperationFactoryTest extends MathTr assertEquals("linearAccuracy", isUsingEpsgFactory ? 2 : PositionalAccuracyConstant.UNKNOWN_ACCURACY, CRS.getLinearAccuracy(operation), STRICT); - tolerance = isUsingEpsgFactory ? Formulas.LINEAR_TOLERANCE : 100; + tolerance = isUsingEpsgFactory ? Formulas.LINEAR_TOLERANCE : 1000; transform = operation.getMathTransform(); isInverseTransformSupported = false; /*
