smallZeroRejectedData = Arrays.trimToCapacity(smallZeroRejectedData, l);
largeZeroFilteredDates = trimToCapacity(largeZeroFilteredDates, m);
largeZeroFilteredData = Arrays.trimToCapacity(largeZeroFilteredData, m);
largeZeroRejectedDates = trimToCapacity(largeZeroRejectedDates, j);
largeZeroRejectedData = Arrays.trimToCapacity(largeZeroRejectedData, j);
final LocalDateDoubleTimeSeries ts = ImmutableLocalDateDoubleTimeSeries.of(dates, data);
FilteredTimeSeries result = SMALL_ZERO_FILTER.evaluate(ts);
assertEquals(result, new FilteredTimeSeries(ImmutableLocalDateDoubleTimeSeries.of(smallZeroFilteredDates, smallZeroFilteredData),
ImmutableLocalDateDoubleTimeSeries.of(smallZeroRejectedDates, smallZeroRejectedData)));
result = LARGE_ZERO_FILTER.evaluate(ts);
assertEquals(result, new FilteredTimeSeries(ImmutableLocalDateDoubleTimeSeries.of(largeZeroFilteredDates, largeZeroFilteredData),