assertEquals(30.0, bbox.getUpperCorner().get(1));
assertEquals("EPSG:4326", bbox.getCrs());
}
public void test3DNoCrs() throws Exception {
BoundingBoxType bbox = (BoundingBoxType) parser.parse("10,20,15,30,40,50,EPSG:4979");
assertEquals(3, bbox.getLowerCorner().size());
assertEquals(10.0, bbox.getLowerCorner().get(0));
assertEquals(20.0, bbox.getLowerCorner().get(1));
assertEquals(15.0, bbox.getLowerCorner().get(2));
assertEquals(3, bbox.getUpperCorner().size());
assertEquals(30.0, bbox.getUpperCorner().get(0));
assertEquals(40.0, bbox.getUpperCorner().get(1));
assertEquals(50.0, bbox.getUpperCorner().get(2));
assertEquals("EPSG:4979", bbox.getCrs());
}