code: def test_meshio():
      """Test meshio i/o"""
      vertices = np.array(
          [
              [0.0, 0.0, 0.0],
              [1.0, 0.0, 0.0],
              [-0.0, 1.0, 0.0],
              [1.0, 1.0, 0.0],
          ]
      )
  
      faces = np.array([[0, 1, 3], [1, 2, 3]])
      fname_out = op.join(temp_dir, "temp.vtk")
      write_mesh(
          fname_out,
          vertices=vertices,
          faces=faces,
          normals=None,
          texcoords=None,
          overwrite=True,
          reshape_faces=False,
      )
      out_vertices, out_faces, _, _ = read_mesh(fname_out)
  
      assert np.all(np.abs(out_vertices - vertices) < 1.0e-14)
      assert np.all(out_faces == faces)
  
file_path: vispy/vispy/io/tests/test_io.py
imports: import numpy
  from os import path
  from numpy.testing import assert_allclose, assert_array_equal
  from vispy.io import write_mesh, read_mesh, load_data_file
  from vispy.geometry import _fast_cross_3d
  from vispy.util import _TempDir
  from vispy.testing import run_tests_if_main, assert_equal, assert_raises, requires_ssl
label_desc: Use image node_id 3 for calling a global function with example usage: test_meshio() without return types