code: def test_instanciate_segmentation_algorithm(self):
      img = img_as_float(chelsea()[::2, ::2])
  
      # wrapped functions provide the same result
      fn = SegmentationAlgorithm(
          "quickshift",
          kernel_size=3,
          max_dist=6,
          ratio=0.5,
          random_seed=133,
      )
      fn_result = fn(img)
      original_result = quickshift(
          img, kernel_size=3, max_dist=6, ratio=0.5, random_seed=133
      )
  
      # same segments
      self.assertTrue(np.array_equal(fn_result, original_result))
  
file_path: lime/lime/tests/test_scikit_image.py
imports: import unittest
  from lime.wrappers.scikit_image import BaseWrapper
  from lime.wrappers.scikit_image import SegmentationAlgorithm
  from skimage.segmentation import quickshift
  from skimage.data import chelsea
  from skimage.util import img_as_float
  import numpy
label_desc: Use image node_id 1 for calling the TestSegmentationAlgorithm obj's underlying member method code with example usage: obj.test_instanciate_segmentation_algorithm() without return types