Changeset 15184 in josm for trunk/test
- Timestamp:
- 2019-06-18T23:06:56+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/GeoUrlToBoundsTest.java
r10636 r15184 40 40 41 41 /** 42 * Tests parsing Geo URLs with a CRS and/or uncertainty. 43 */ 44 @Test 45 public void testParseCrsUncertainty() { 46 assertThat( 47 GeoUrlToBounds.parse("geo:60.00000,17.000000;crs=wgs84"), 48 is(OsmUrlToBounds.positionToBounds(60.0, 17.0, 18)) 49 ); 50 assertThat( 51 GeoUrlToBounds.parse("geo:60.00000,17.000000;crs=wgs84;u=0"), 52 is(OsmUrlToBounds.positionToBounds(60.0, 17.0, 18)) 53 ); 54 assertThat( 55 GeoUrlToBounds.parse("geo:60.00000,17.000000;u=20"), 56 is(OsmUrlToBounds.positionToBounds(60.0, 17.0, 18)) 57 ); 58 } 59 60 /** 42 61 * Tests parsing invalid Geo URL. 43 62 */
Note:
See TracChangeset
for help on using the changeset viewer.