code: def test_orthogonal():
      # make lines that are entirely vertical / horizontal
      np.random.seed(1)
      N = 100
      pts = [[0, 0]]
      for i in range(N - 1):
          p = pts[-1][:]
          p[i % 2] += np.random.normal()
          pts.append(p)
      pts = np.array(pts)
      edges = np.zeros((N, 2), dtype=int)
      edges[:, 0] = np.arange(N)
      edges[:, 1] = np.arange(1, N + 1) % N
  
      t = T(pts, edges)
      t.triangulate()
  
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 9 for calling a global function with example usage: test_orthogonal() without return types