code: def test_eye():
      qi = nq.eye()
      assert np.all([1, 0, 0, 0] == qi)
      assert np.allclose(nq.quat2mat(qi), np.eye(3))
  
imports: import numpy
  import pytest
  from numpy import pi
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from ..None import eulerangles
  from ..None import quaternions
label_desc: Use image node_id 14 for calling a global function with example usage: test_eye() without return types