code: def test_date_minmax():
      np_data = np.random.normal(size=10**3)
      gdf_data = Series(np_data)
  
      np_casted = np_data.astype("datetime64[ms]")
      gdf_casted = gdf_data.astype("datetime64[ms]")
  
      np_min = np_casted.min()
      gdf_min = gdf_casted.min()
      assert np_min == gdf_min
  
      np_max = np_casted.max()
      gdf_max = gdf_casted.max()
      assert np_max == gdf_max
  
imports: from decimal import Decimal
  from itertools import product
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import Series
  from cudf.core.dtypes import Decimal32Dtype, Decimal64Dtype, Decimal128Dtype
  from cudf.testing import _utils
  from cudf.testing._utils import NUMERIC_TYPES, assert_eq, expect_warning_if, gen_rand
label_desc: Use image node_id 14 for calling a global function with example usage: test_date_minmax() without return types