code: def single_2d_transform_cases():
      return [
          (
              torch.as_tensor(get_arange_img((32, 32))),
              [
                  {LazyAttr.AFFINE: create_rotate(2, np.pi / 4)},
                  {LazyAttr.AFFINE: create_rotate(2, -np.pi / 4)},
              ],
              (1, 32, 32),
          ),
          (
              torch.as_tensor(get_arange_img((32, 32))),
              [create_rotate(2, np.pi / 2)],
              (1, 32, 32),
          ),
          (
              torch.as_tensor(get_arange_img((16, 16))),
              [
                  {
                      LazyAttr.AFFINE: create_rotate(2, np.pi / 2),
                      LazyAttr.SHAPE: (45, 45),
                  }
              ],
              (1, 45, 45),
          ),
      ]
  
file_path: MONAI/tests/test_apply.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from monai.transforms.lazy.functional import apply_pending
  from monai.transforms.utils import create_rotate
  from monai.utils import LazyAttr, convert_to_tensor
  from tests.utils import get_arange_img
label_desc: Use image node_id 1 for calling a global function with example usage: single_2d_transform_cases() and returns: list