Changeset 12729 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2017-09-05T01:27:24+02:00 (7 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/upload/FixDataHookTest.java
r12728 r12729 46 46 assertTrue(MainApplication.undoRedo.commands.isEmpty()); 47 47 48 // Complete data set (except empty which cannot be tested anymore)48 // Complete data set (except empty node which cannot be tested anymore) 49 49 Way emptyWay = new Way(); 50 50 Relation emptyRelation = new Relation(); -
trunk/test/unit/org/openstreetmap/josm/data/gpx/GpxDataTest.java
r12171 r12729 334 334 335 335 WayPoint close = data.nearestPointOnTrack(new EastNorth(5, 5), 10); 336 assertEquals(10, close.getEastNorth( ).east(), .01);337 assertEquals(5, close.getEastNorth( ).north(), .01);336 assertEquals(10, close.getEastNorth(Main.getProjection()).east(), .01); 337 assertEquals(5, close.getEastNorth(Main.getProjection()).north(), .01); 338 338 339 339 close = data.nearestPointOnTrack(new EastNorth(15, 5), 10); 340 assertEquals(10, close.getEastNorth( ).east(), .01);341 assertEquals(5, close.getEastNorth( ).north(), .01);340 assertEquals(10, close.getEastNorth(Main.getProjection()).east(), .01); 341 assertEquals(5, close.getEastNorth(Main.getProjection()).north(), .01); 342 342 343 343 assertNull(data.nearestPointOnTrack(new EastNorth(5, 5), 1));
Note:
See TracChangeset
for help on using the changeset viewer.