Skip to content

Commit bb2b16d

Browse files
committed
Re adding test for wgs84/double git issue #466
1 parent 6dd0b6b commit bb2b16d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test-complete/src/test/java/com/marklogic/client/functionaltest/TestDoublePrecisionGeoOps.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
package com.marklogic.client.functionaltest;
1818

19+
import static org.junit.Assert.*;
20+
1921
import java.io.File;
2022
import java.io.IOException;
2123
import java.security.KeyManagementException;
@@ -170,11 +172,11 @@ public void testBoxContainsPolygon() throws KeyManagementException, NoSuchAlgori
170172
JsonNode jsonPointNodes = resultNode.path("results");
171173

172174
// Should have 2 nodes returned.
173-
/*assertEquals("Two nodes not returned from testCircleContainsCircle method ", 2, resultNode.path("total").asInt());
175+
assertEquals("Two nodes not returned from testCircleContainsCircle method ", 2, resultNode.path("total").asInt());
174176
assertTrue("URI returned from testCircleContainsCircle method is incorrect", jsonPointNodes.get(0).path("uri").asText().contains("/Equator-json.json") ||
175177
jsonPointNodes.get(1).path("uri").asText().contains("/Equator-json.json"));
176178
assertTrue("URI returned from testCircleContainsCircle method is incorrect", jsonPointNodes.get(0).path("uri").asText().contains("/Equator.xml") ||
177-
jsonPointNodes.get(1).path("uri").asText().contains("/Equator.xml"));*/
179+
jsonPointNodes.get(1).path("uri").asText().contains("/Equator.xml"));
178180
}
179181

180182
/*

0 commit comments

Comments
 (0)