Commit 4f252c26 authored by Yuri Astrakhan's avatar Yuri Astrakhan

Fix broken Wikosm unit test

git-svn-id: https://svn.openstreetmap.org/applications/editors/josm/plugins/wikipedia@33631 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
parent 7599598a
......@@ -38,9 +38,9 @@ public class WikosmDownloadReaderTest {
public void testPoint() throws UnsupportedEncodingException {
assertThat(WikosmDownloadReader.point(9.5, 47.16),
is("\"Point(9.5 47.16)\"^^geo:wktLiteral"));
assertThat(WikosmDownloadReader.boxParams(1, 2, 3, 4),
is("\nbd:serviceParam wikibase:cornerWest \"Point(1 2)\"^^geo:wktLiteral." +
"\nbd:serviceParam wikibase:cornerEast \"Point(3 4)\"^^geo:wktLiteral.\n"));
assertThat(WikosmDownloadReader.boxParams(1.1, 2.2, 3.3, 4.4),
is("\nbd:serviceParam wikibase:cornerWest \"Point(1.1 2.2)\"^^geo:wktLiteral." +
"\nbd:serviceParam wikibase:cornerEast \"Point(3.3 4.4)\"^^geo:wktLiteral.\n"));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment