You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2014/12/02 22:35:41 UTC
[math] Fixed comment, the test for MATH-1174 does not fail anymore.
Repository: commons-math
Updated Branches:
refs/heads/master 3f13fbeff -> 428a48533
Fixed comment, the test for MATH-1174 does not fail anymore.
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/428a4853
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/428a4853
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/428a4853
Branch: refs/heads/master
Commit: 428a48533c711f3a27376f0eadea32c95657ea51
Parents: 3f13fbe
Author: Luc Maisonobe <lu...@apache.org>
Authored: Tue Dec 2 22:35:27 2014 +0100
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Tue Dec 2 22:35:27 2014 +0100
----------------------------------------------------------------------
.../commons/math3/geometry/euclidean/twod/PolygonsSetTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/428a4853/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java b/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java
index 52bbbca..f965742 100644
--- a/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java
+++ b/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java
@@ -1138,7 +1138,8 @@ public class PolygonsSetTest {
Assert.assertEquals(2 * (1.0 + 1.0 / 64.0), accuratePolygon.getBoundarySize(), 1.0e-10);
// if tolerance is larger than rectangle width, the rectangle degenerates
- // as of 3.3, its two long edges cannot be distinguished anymore and this part of the test fails
+ // as of 3.3, its two long edges cannot be distinguished anymore and this part of the test did fail
+ // this has been fixed in 3.4 (issue MATH-1174)
Hyperplane<Euclidean2D>[] h2 = new Line[] {
new Line(pA, pB, 1.0 / 16),
new Line(pB, pC, 1.0 / 16),