code: def assert_chain_types(chain, types):
      assert list(map(type, chain.transforms)) == types
  
file_path: vispy/vispy/visuals/transforms/tests/test_transforms.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  import vispy.visuals.transforms
  from vispy.geometry import Rect
  from vispy.testing import run_tests_if_main
label_desc: Use image node_id 1 for calling a global function with example usage: assert_chain_types(chain, types) without return types