Ignore:
Timestamp:
2017-09-05T01:27:24+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - fix typos, warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/gpx/GpxDataTest.java

    r12171 r12729  
    334334
    335335        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);
    338338
    339339        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);
    342342
    343343        assertNull(data.nearestPointOnTrack(new EastNorth(5, 5), 1));
Note: See TracChangeset for help on using the changeset viewer.