This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git
The following commit(s) were added to refs/heads/master by this push:
new 38e52e59 Better JUnit API usage
38e52e59 is described below
commit 38e52e590a245dbf204887efeb14e98013e67618
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 27 15:03:04 2026 +0000
Better JUnit API usage
---
.../java/org/apache/commons/geometry/spherical/oned/Point1STest.java | 2 +-
.../geometry/spherical/twod/AbstractGreatArcPathConnectorTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/oned/Point1STest.java
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/oned/Point1STest.java
index 39049319..d281115f 100644
---
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/oned/Point1STest.java
+++
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/oned/Point1STest.java
@@ -212,7 +212,7 @@ class Point1STest {
final Point1S d = Point1S.of(-0.0);
// act/assert
- Assertions.assertFalse(a.equals(b));
+ Assertions.assertNotEquals(a, b);
Assertions.assertNotEquals(a.hashCode(), b.hashCode());
Assertions.assertTrue(a.equals(c));
diff --git
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/AbstractGreatArcPathConnectorTest.java
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/AbstractGreatArcPathConnectorTest.java
index 65099e67..3a69117f 100644
---
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/AbstractGreatArcPathConnectorTest.java
+++
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/AbstractGreatArcPathConnectorTest.java
@@ -291,7 +291,7 @@ class AbstractGreatArcPathConnectorTest {
// act/assert
Assertions.assertEquals(a, a);
- Assertions.assertFalse(a.equals(null));
+ Assertions.assertNotEquals(a, null);
Assertions.assertFalse(a.equals(new Object()));
Assertions.assertNotEquals(a, new ConnectableGreatArc(arcB));