code: def test_samplecompose():
      transfos = [lambda x, y: (1 - x, y), lambda x, y: (x, 2 * y)]
      transfo = T.SampleCompose(transfos)
      assert transfo(0, 1) == (1, 2)
  
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 2 for calling a global function with example usage: test_samplecompose() without return types