@Test public void test_thinned_track() { try { GpxParser parser = new GpxParser(); FileInputStream gpxIn = new FileInputStream(new File(TEST_GPX_INPUT)); List<GpsTrack> gpxTracks = parser.parse(gpxIn); GpsTrack gpxTrack = gpxTracks.get(0); GpsTrack thinned = gpxTrack.getThinnedTrack(); } catch (Exception e) { fail(e.toString()); } }