code: def test_reduce(self):
      test_color = 254
  
      for size in range(400000, 400010, 2):
          i = Image.new("L", (size, 1), 0)
          draw = ImageDraw.Draw(i)
          draw.rectangle((0, 0, i.size[0] // 2 - 1, 0), test_color)
  
          px = i.resize((5, i.size[1]), Image.BICUBIC).load()
          if px[2, 0] != test_color // 2:
              assert test_color // 2 == px[2, 0]
  
imports: from contextlib import contextmanager
  import pytest
  from PIL import Image, ImageDraw
  from .helper import assert_image_equal, assert_image_similar, hopper, mark_if_feature_version
label_desc: Use image node_id 1 for calling the TestCoreResampleCoefficients obj's underlying member method code with example usage: obj.test_reduce() without return types