code: def test_min_segment_size(self):
      small_segments_hash = imagehash.crop_resistant_hash(
          self.peppers, min_segment_size=100
      )
      big_segments_hash = imagehash.crop_resistant_hash(
          self.peppers, min_segment_size=1000
      )
  
      self.assertGreater(
          len(small_segments_hash.segment_hashes),
          len(big_segments_hash.segment_hashes),
          "Small segment size limit should lead to larger number of segments detected.",
      )
      self.assertEqual(
          small_segments_hash,
          big_segments_hash,
          "Hashes should still match, as large segments are present in both",
      )
  
file_path: imagehash/tests/test_crop_resistant_hash.py
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from datetime import datetime
  import imagehash
  from .utils import TestImageHash
label_desc: Use image node_id 7 for calling the Test obj's underlying member method code with example usage: obj.test_min_segment_size() without return types