Changeset 12076 in josm for trunk/test/unit/org
- Timestamp:
- 2017-05-06T19:08:15+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/MapViewStateTest.java
r10867 r12076 68 68 } 69 69 70 /**71 * Test {@link MapViewState#getCenterAtPixel()} returns map view center.72 */73 @Test74 public void testGetCenterAtPixel() {75 doTestGetCenter(s -> s.getCenterAtPixel(), t -> (double) (t / 2));76 }77 78 70 private static void assertHasViewCoords(double x, double y, MapViewPoint center) { 79 71 assertEquals("x", x, center.getInViewX(), 0.01);
Note:
See TracChangeset
for help on using the changeset viewer.