code: def test_wide_crop():
      def crop(*bbox):
          i = im.crop(bbox)
          h = i.histogram()
          while h and not h[-1]:
              del h[-1]
          return tuple(h)
  
      im = Image.new("L", (100, 100), 1)
  
      assert crop(0, 0, 100, 100) == (0, 10000)
      assert crop(25, 25, 75, 75) == (0, 2500)
  
      # sides
      assert crop(-25, 0, 25, 50) == (1250, 1250)
      assert crop(0, -25, 50, 25) == (1250, 1250)
      assert crop(75, 0, 125, 50) == (1250, 1250)
      assert crop(0, 75, 50, 125) == (1250, 1250)
  
      assert crop(-25, 25, 125, 75) == (2500, 5000)
      assert crop(25, -25, 75, 125) == (2500, 5000)
  
      # corners
      assert crop(-25, -25, 25, 25) == (1875, 625)
      assert crop(75, -25, 125, 25) == (1875, 625)
      assert crop(75, 75, 125, 125) == (1875, 625)
      assert crop(-25, 75, 25, 125) == (1875, 625)
  
file_path: pillow-simd/Tests/test_image_crop.py
imports: import pytest
  from PIL import Image
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 2 for calling a global function with example usage: test_wide_crop() and returns: tuple