assertThat(swapLatLon(toJsonJPoint(point1)), is(array(2.0,1.0)));
}
public void shouldConvertLineString() {
JsonArray ls = toJsonJLineString(lineString1);
assertThat(ls.first().asArray(), is(toJsonJPoint(point1)));
assertThat(ls.last().asArray(), is(toJsonJPoint(point3)));
}
public void shouldSwapPoints() {
JsonArray ls = toJsonJLineString(lineString1);