code: def test_resize_noop(image):
      """FYI: this essentially tests the `if original_size == target_size: return image`
      part of `resize()`'s implementation. Without it, machine precision makes the
      following assert no longer true, but I thought it was an imoprtant property to have.
      """
      resized = resize(image, image.shape[-3:-1])
      assert np.all(resized == image)
  
file_path: lucid/tests/misc/test_ndimage_utils.py
imports: import pytest
  import numpy
  from lucid.misc.io import load, save
  from lucid.misc.ndimage_utils import resize, composite
label_desc: Use image node_id 3 for calling a global function with example usage: test_resize_noop(image) without return types