Changeset 8540 in josm for trunk/test/unit/org/openstreetmap/josm/gui/dialogs/LatLonDialogTest.java
- Timestamp:
- 2015-06-27T21:43:35+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/LatLonDialogTest.java
r8509 r8540 36 36 @Test 37 37 public void test6() throws Exception { 38 assertThat(LatLonDialog.parseLatLon("N 49°29'04\" E 19°24'43\""), is(new LatLon(49 + 29. / 60 + 04. / 3600, 19 + 24. / 60 + 43. / 3600))); 38 assertThat(LatLonDialog.parseLatLon("N 49°29'04\" E 19°24'43\""), 39 is(new LatLon(49 + 29. / 60 + 04. / 3600, 19 + 24. / 60 + 43. / 3600))); 39 40 } 40 41 … … 46 47 @Test 47 48 public void test8() throws Exception { 48 assertThat(LatLonDialog.parseLatLon("49°29'21\" N 19°24'38\" E"), is(new LatLon(49 + 29. / 60 + 21. / 3600, 19 + 24. / 60 + 38. / 3600))); 49 assertThat(LatLonDialog.parseLatLon("49°29'21\" N 19°24'38\" E"), 50 is(new LatLon(49 + 29. / 60 + 21. / 3600, 19 + 24. / 60 + 38. / 3600))); 49 51 } 50 52
Note:
See TracChangeset
for help on using the changeset viewer.
