Improve random testing for GeoPointPointInPolygonQuery and DimensionalPointInPolygonQuery [LUCENE-6935]
Open
legacy-jira-priority:Minor
module:spatial
type:test
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
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.
---
Migrated from [LUCENE-6935](https://issues.apache.org/jira/browse/LUCENE-6935) by Nick Knize (@nknize), updated Feb 01 2016
Contributor guide
Assessment
This issue has not been assessed yet.