code: def test_accurate_results(
      params, start_desired, end_desired, size_desired
  ):
      """Test that the actual results are the expected ones."""
      start_actual, end_actual, size_actual = segmentation(**params)
      np.testing.assert_array_equal(start_actual, start_desired)
      np.testing.assert_array_equal(end_actual, end_desired)
      np.testing.assert_equal(size_actual, size_desired)
  
imports: import numpy
  import pytest
  import re
  from pyts.utils import segmentation
label_desc: Use image node_id 2 for calling a global function with example usage: test_accurate_results(params, start_desired, end_desired, size_desired) without return types