code: def test_projection():
      pts = np.array([[0, 0], [5, 0], [1, 2], [3, 4]])
      t = T(pts, np.zeros((0, 2)))
  
      a, b, c, d = pts
      assert np.allclose(t._projection(a, c, b), [1, 0])
      assert np.allclose(t._projection(b, c, a), [1, 0])
      assert np.allclose(t._projection(a, d, b), [3, 0])
      assert np.allclose(t._projection(b, d, a), [3, 0])
      assert np.allclose(t._projection(a, b, c), [1, 2])
      assert np.allclose(t._projection(c, b, a), [1, 2])
  
file_path: vispy/vispy/geometry/tests/test_triangulation.py
imports: import sys
  from unittest import SkipTest
  import numpy
  from numpy.testing import assert_array_almost_equal
  from vispy.testing import run_tests_if_main
  from vispy.geometry.triangulation import Triangulation
label_desc: Use image node_id 7 for calling a global function with example usage: test_projection() without return types