code: def test_resample_agg():
      index = pd.date_range("2000-01-01", "2000-02-15", freq="h")
      ps = pd.Series(range(len(index)), index=index)
      ds = dd.from_pandas(ps, npartitions=2)
  
      assert_eq(
          ds.resample("10min").agg("mean"),
          ps.resample("10min").agg("mean"),
      )
      assert_eq(
          ds.resample("10min").agg(["mean", "min"]),
          ps.resample("10min").agg(["mean", "min"]),
      )
  
imports: from __future__ import annotations
  from itertools import product
  import pandas
  import pytest
  import dask.dataframe
  from dask.dataframe._compat import PANDAS_GE_220
  from dask.dataframe.utils import assert_eq
label_desc: Use image node_id 4 for calling a global function with example usage: test_resample_agg() without return types