This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git

commit 3b1bcc4de4dd80b9caffcb3368a1b613632b228a
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Fri Apr 25 13:53:17 2025 +0100

    sonar fix: test the double lune complement
---
 .../commons/geometry/spherical/twod/RegionBSPTree2STest.java      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/RegionBSPTree2STest.java
 
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/RegionBSPTree2STest.java
index 0436bb30..87526dce 100644
--- 
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/RegionBSPTree2STest.java
+++ 
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/RegionBSPTree2STest.java
@@ -344,10 +344,10 @@ class RegionBSPTree2STest {
     void testToConvex_doubleLune_complement() {
         // arrange
         final RegionBSPTree2S tree = GreatArcPath.builder(TEST_PRECISION)
-                .append(EQUATOR.arc(0,  Math.PI))
-                .append(X_MERIDIAN.arc(Math.PI, 0))
-                .append(EQUATOR.reverse().arc(0, Math.PI))
-                .append(X_MERIDIAN.reverse().arc(Math.PI, 0))
+                .append(EQUATOR.arc(Math.PI, 0))
+                .append(X_MERIDIAN.arc(0, Math.PI))
+                .append(EQUATOR.reverse().arc(Math.PI, 0))
+                .append(X_MERIDIAN.reverse().arc(0, Math.PI))
                 .build()
                 .toTree();
 

Reply via email to