code: def test_get_trend(slope):
      data = np.arange(0, 100 * slope, slope, dtype=np.float64)
      cu_hw = cuml_ES(data)
      cu_hw.fit()
      assert pytest.approx(cu_hw.get_trend().to_numpy(), 1e-4) == slope
  
file_path: cuml/python/cuml/tests/test_holtwinters.py
imports: from sklearn.metrics import r2_score
  from statsmodels.tsa.holtwinters import ExponentialSmoothing
  from cuml.tsa.holtwinters import ExponentialSmoothing
  import pytest
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_trend(slope) without return types