diff --git a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java index 5819dedc805..85ec54856e6 100644 --- a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java +++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java @@ -238,6 +238,29 @@ public class TestGeo3DPoint extends LuceneTestCase { log.println(" root cell: " + root); } + // make sure the root cell (XYZBounds) does in fact contain all points that the shape contains + { + boolean fail = false; + for(int docID=0;docID