code: def test_inverse(trn):
      rng = np.random.RandomState(0)
      N = 20
      x = rng.normal(size=(N, 3))
      pw = rng.normal(size=(N, 3), scale=3)
      pos = x * 10**pw
  
      assert_allclose(
          pos, trn.inverse.map(trn.map(pos))[:, :3], atol=1e-7
      )
  
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 9 for calling a global function with example usage: test_inverse(trn) without return types