aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-03 14:38:11 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-03 14:38:11 +0500
commit22f37ea8bac7f45430e56c07d46d06755297f497 (patch)
treeeea4238487e1418e9590070e8bf253f741be6c30 /test/org
parentebb43a1d910595462b384e3d1bd6375672da5b84 (diff)
downloadtrackermap-server-22f37ea8bac7f45430e56c07d46d06755297f497.tar.gz
trackermap-server-22f37ea8bac7f45430e56c07d46d06755297f497.tar.bz2
trackermap-server-22f37ea8bac7f45430e56c07d46d06755297f497.zip
Double brackets for "POLYGON" area
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/geofence/GeofencePolygonTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/geofence/GeofencePolygonTest.java b/test/org/traccar/geofence/GeofencePolygonTest.java
index 8711a3696..e3d6aaa29 100644
--- a/test/org/traccar/geofence/GeofencePolygonTest.java
+++ b/test/org/traccar/geofence/GeofencePolygonTest.java
@@ -9,7 +9,7 @@ public class GeofencePolygonTest {
@Test
public void testPolygonWKT() {
- String test = "POLYGON (55.75474 37.61823, 55.75513 37.61888, 55.7535 37.6222, 55.75315 37.62165)";
+ String test = "POLYGON ((55.75474 37.61823, 55.75513 37.61888, 55.7535 37.6222, 55.75315 37.62165))";
GeofenceGeometry geofenceGeometry = new GeofencePolygon();
try {
geofenceGeometry.fromWkt(test);
@@ -21,7 +21,7 @@ public class GeofencePolygonTest {
@Test
public void testContainsPolygon() {
- String test = "POLYGON (55.75474 37.61823, 55.75513 37.61888, 55.7535 37.6222, 55.75315 37.62165)";
+ String test = "POLYGON ((55.75474 37.61823, 55.75513 37.61888, 55.7535 37.6222, 55.75315 37.62165))";
GeofenceGeometry geofenceGeometry = new GeofencePolygon();
try {
geofenceGeometry.fromWkt(test);