code: def test_compress_streamlines_identical_points():
      sl_1 = np.array(
          [[1, 1, 1], [1, 1, 1], [2, 2, 2], [3, 3, 3], [3, 3, 3]]
      )
      sl_2 = np.array([[1, 1, 1], [1, 1, 1], [1, 1, 1], [2, 2, 2]])
      sl_3 = np.array(
          [
              [1, 1, 1],
              [1, 1, 1],
              [1, 1, 1],
              [1, 1, 1],
              [2, 2, 2],
              [2, 2, 2],
              [2, 2, 2],
              [3, 3, 3],
              [3, 3, 3],
          ]
      )
      sl_4 = np.array(
          [
              [1, 1, 1],
              [1, 1, 1],
              [1, 1, 1],
              [1, 1, 1],
              [2, 2, 2],
              [3, 3, 3],
              [3, 3, 3],
              [1, 1, 1],
          ]
      )
      new_sl_1 = compress_streamlines(sl_1)
      new_sl_2 = compress_streamlines(sl_2)
      new_sl_3 = compress_streamlines(sl_3)
      new_sl_4 = compress_streamlines(sl_4)
      npt.assert_array_equal(new_sl_1, np.array([[1, 1, 1], [3, 3, 3]]))
      npt.assert_array_equal(new_sl_2, np.array([[1, 1, 1], [2, 2, 2]]))
      npt.assert_array_equal(new_sl_3, new_sl_1)
      npt.assert_array_equal(
          new_sl_4, np.array([[1, 1, 1], [3, 3, 3], [1, 1, 1]])
      )
  
imports: import warnings
  import types
  import numpy
  from numpy.linalg import norm
  import numpy.testing
  from dipy.testing.memory import get_type_refcount
  from dipy.testing import assert_arrays_equal
  from dipy.testing.decorators import set_random_number_generator
  from dipy.testing import assert_true
  from numpy.testing import assert_array_equal, assert_array_almost_equal, assert_raises, assert_allclose, assert_almost_equal, assert_equal
  from dipy.tracking.streamlinespeed import compress_streamlines, length, set_number_of_points
  from dipy.tracking.streamline import Streamlines
  from dipy.tracking.streamline import relist_streamlines, unlist_streamlines, center_streamlines, transform_streamlines, select_random_set_of_streamlines, select_by_rois, orient_by_rois, orient_by_streamline, values_from_volume, deform_streamlines, cluster_confidence
label_desc: Use image node_id 16 for calling a global function with example usage: test_compress_streamlines_identical_points() without return types