code: def test_concat(gdf, gddf, series):
      if series:
          gdf = gdf.x
          gddf = gddf.x
          a = (
              cudf.concat([gdf, gdf + 1, gdf + 2])
              .sort_values()
              .reset_index(drop=True)
          )
          b = (
              dd.concat(
                  [gddf, gddf + 1, gddf + 2], interleave_partitions=True
              )
              .compute()
              .sort_values()
              .reset_index(drop=True)
          )
      else:
          a = (
              cudf.concat([gdf, gdf + 1, gdf + 2])
              .sort_values("x")
              .reset_index(drop=True)
          )
          b = (
              dd.concat(
                  [gddf, gddf + 1, gddf + 2], interleave_partitions=True
              )
              .compute()
              .sort_values("x")
              .reset_index(drop=True)
          )
      dd.assert_eq(a, b)
  
imports: import random
  import cupy
  import numpy
  import pandas
  import pytest
  from packaging import version
  import dask
  from dask import dataframe
  from dask.dataframe.core import make_meta, meta_nonempty
  from dask.utils import M
  import cudf
  import dask_cudf
label_desc: Use image node_id 34 for calling a global function with example usage: test_concat(gdf, gddf, series) without return types