Changeset 12171 in josm for trunk/test/unit
- Timestamp:
- 2017-05-15T17:55:56+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/gpx/GpxDataTest.java
r12169 r12171 47 47 48 48 /** 49 * @throws java.lang.Exception49 * Set up empty test data 50 50 */ 51 51 @Before 52 public void setUp() throws Exception{52 public void setUp() { 53 53 data = new GpxData(); 54 54 } … … 281 281 @Test 282 282 public void testLength() { 283 ImmutableGpxTrack track1 = waypointGpxTrack(new WayPoint(new LatLon(0, 0)), new WayPoint(new LatLon(1, 1)), new WayPoint(new LatLon(0, 2))); 284 ImmutableGpxTrack track2 = waypointGpxTrack(new WayPoint(new LatLon(0, 0)), new WayPoint(new LatLon(-1, 1))); 283 ImmutableGpxTrack track1 = waypointGpxTrack( 284 new WayPoint(new LatLon(0, 0)), 285 new WayPoint(new LatLon(1, 1)), 286 new WayPoint(new LatLon(0, 2))); 287 ImmutableGpxTrack track2 = waypointGpxTrack( 288 new WayPoint(new LatLon(0, 0)), 289 new WayPoint(new LatLon(-1, 1))); 285 290 data.addTrack(track1); 286 291 data.addTrack(track2);
Note:
See TracChangeset
for help on using the changeset viewer.