Changeset 10462 in josm for trunk/test/unit/org
- Timestamp:
- 2016-06-23T02:12:21+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/MapViewStateTest.java
r10398 r10462 136 136 } 137 137 } 138 139 /** 140 * Test {@link MapViewState.MapViewViewPoint#toString()} and {@link MapViewState.MapViewEastNorthPoint#toString()} 141 */ 142 @Test 143 public void testToString() { 144 assertEquals("MapViewViewPoint [x=1.0, y=2.0]", 145 state.getForView(1, 2).toString()); 146 assertEquals("MapViewEastNorthPoint [eastNorth=EastNorth[e=0.0, n=0.0]]", 147 state.getPointFor(new EastNorth(0, 0)).toString()); 148 } 138 149 }
Note:
See TracChangeset
for help on using the changeset viewer.