code: def test_wrap_aggregate_range_index_data_point_selection(
      downsampler, gap_handler, series
  ):
      series = series.copy()
      series.index = pd.RangeIndex(
          start=-20_000, stop=-20_000 + len(series)
      )
      x_agg, y_agg, indices = wrap_aggregate(
          hf_x=series.index,
          hf_y=series.values,
          downsampler=downsampler(),
          gap_handler=gap_handler(),
          n_out=100,
      )
      assert len(x_agg) == len(y_agg) == len(indices)
      assert x_agg[0] == -20_000
  
imports: import numpy
  import pandas
  import pytest
  from pytest_lazyfixture import lazy_fixture
  from plotly_resampler.aggregation import LTTB, EveryNthPoint, FuncAggregator, MedDiffGapHandler, MinMaxAggregator, MinMaxLTTB, MinMaxOverlapAggregator, NoGapHandler
  from .utils import construct_index, wrap_aggregate
label_desc: Use image node_id 9 for calling a global function with example usage: test_wrap_aggregate_range_index_data_point_selection(downsampler, gap_handler, series) without return types