code: def test_imagetransform():
      transfo = T.ImageTransform(lambda x: 1 - x)
      assert transfo(0, 1) == (1, 1)
  
file_path: doctr/tests/common/test_transforms.py
imports: import numpy
  import pytest
  from doctr.transforms import modules
  from doctr.transforms.functional.base import expand_line
label_desc: Use image node_id 1 for calling a global function with example usage: test_imagetransform() without return types