You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/12/16 15:53:46 UTC
[jira] [Commented] (LUCENE-6935) Improve random testing for
GeoPointPointInPolygonQuery and DimensionalPointInPolygonQuery
[ https://issues.apache.org/jira/browse/LUCENE-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15060083#comment-15060083 ]
Michael McCandless commented on LUCENE-6935:
--------------------------------------------
+1, tests are weak now for "interesting" polygons ...
> Improve random testing for GeoPointPointInPolygonQuery and DimensionalPointInPolygonQuery
> -----------------------------------------------------------------------------------------
>
> Key: LUCENE-6935
> URL: https://issues.apache.org/jira/browse/LUCENE-6935
> Project: Lucene - Core
> Issue Type: Test
> Reporter: Nicholas Knize
> Priority: Minor
>
> Currently {{TestGeoPointQuery}} and {{TestDimensionalQueries}} only create bounding box polygons to test {{PointInPolygonQuery}}. This provides coverage for testing basic functionality but lacks critical testing with true random shapes. Random shape generation needs to be added to {{BaseGeoPointTestCase}} and used in {{newPolygonQuery}} for GeoPoint and DimensionalQuery testing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org