Changeset 18494 in josm for trunk/test/unit/org/openstreetmap/josm/data/coor
- Timestamp:
- 2022-06-15T19:27:05+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/coor/LatLonTest.java
r17275 r18494 170 170 @Test 171 171 void testBearing() { 172 LatLon c = new LatLon(47.000000, 19.000000); 173 LatLon e = new LatLon(47.000000, 19.000001); 174 LatLon n = new LatLon(47.000001, 19.000000); 172 ILatLon c = new LatLon(47.000000, 19.000000); 173 ILatLon e = new LatLon(47.000000, 19.000001); 174 ILatLon n = new LatLon(47.000001, 19.000000); 175 175 assertEquals(0, Math.toDegrees(c.bearing(n)), EPSILON); 176 176 assertEquals(90, Math.toDegrees(c.bearing(e)), EPSILON);
Note:
See TracChangeset
for help on using the changeset viewer.