singhbaljit commented on a change in pull request #79:
URL: https://github.com/apache/commons-geometry/pull/79#discussion_r445525532
##########
File path:
commons-geometry-core/src/test/java/org/apache/commons/geometry/core/precision/EpsilonDoublePrecisionContextTest.java
##########
@@ -199,13 +199,13 @@ public void testEquals() {
EpsilonDoublePrecisionContext c = new
EpsilonDoublePrecisionContext(1e-6);
// act/assert
- Assert.assertFalse(a.equals(null));
- Assert.assertFalse(a.equals(new Object()));
- Assert.assertFalse(a.equals(b));
- Assert.assertFalse(b.equals(a));
+ Assert.assertNotEquals(null, a);
+ Assert.assertNotEquals(new Object(), a);
Review comment:
Undid the tests for null checks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]