From bacac1c333b26a233011546ec4b3fa5e832ab49b Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Tue, 7 Jun 2016 07:56:53 -0400 Subject: [PATCH] LUCENE-7316: improve test --- .../lucene/spatial3d/TestGeo3DPoint.java | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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 d651491c9ff..69f5999cba7 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