Changeset 12076 in josm


Ignore:
Timestamp:
2017-05-06T19:08:15+02:00 (7 years ago)
Author:
bastiK
Message:

see #14740 - update test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/MapViewStateTest.java

    r10867 r12076  
    6868    }
    6969
    70     /**
    71      * Test {@link MapViewState#getCenterAtPixel()} returns map view center.
    72      */
    73     @Test
    74     public void testGetCenterAtPixel() {
    75         doTestGetCenter(s -> s.getCenterAtPixel(), t -> (double) (t / 2));
    76     }
    77 
    7870    private static void assertHasViewCoords(double x, double y, MapViewPoint center) {
    7971        assertEquals("x", x, center.getInViewX(), 0.01);
Note: See TracChangeset for help on using the changeset viewer.