TrailStatisticsImpl implements TrailStatistics { @Override public Statistics getElevationDifferenceSummary() { return eleDiff; } TrailStatisticsImpl(
      final Statistics time,
      final Statistics dist,
      final Statistics ele,
      final Statistics eleDiff,
      final Statistics speed,
      final Statistics grade); @Override Statistics getTimeDifferenceSummary(); @Override Statistics getDistanceSummary(); @Override Statistics getElevationDifferenceSummary(); @Override Statistics getSpeedSummary(); @Override Statistics getGradeSummary(); @Override Statistics getElevationSummary(); @Override String toString(); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void getElevationDiffSummary() { final Statistics ele = getStats().getElevationDifferenceSummary(); assertTrue(ele.getOutliers().isEmpty()); assertEquals(5, ele.getAll().getN()); assertEquals(3, ele.getActive().getN()); assertEquals(1, ele.getActiveDown().getN()); assertEquals(2, ele.getActiveUp().getN()); assertEquals(0, ele.getActiveFlat().getN()); }