parent
b78b3edeea
commit
2d3d7ab387
|
@ -251,6 +251,7 @@ public class CentroidCalculatorTests extends ESTestCase {
|
||||||
assertThat(calculator.getDimensionalShapeType(), equalTo(LINE));
|
assertThat(calculator.getDimensionalShapeType(), equalTo(LINE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/58245")
|
||||||
public void testPolygonAsPoint() {
|
public void testPolygonAsPoint() {
|
||||||
Point point = GeometryTestUtils.randomPoint(false);
|
Point point = GeometryTestUtils.randomPoint(false);
|
||||||
Polygon polygon = new Polygon(new LinearRing(new double[] { point.getX(), point.getX(), point.getX(), point.getX() },
|
Polygon polygon = new Polygon(new LinearRing(new double[] { point.getX(), point.getX(), point.getX(), point.getX() },
|
||||||
|
|
Loading…
Reference in New Issue