code: def test_norm():
      qi = nq.eye()
      assert nq.norm(qi) == 1
      assert nq.isunit(qi)
      qi[1] = 0.2
      assert not nq.isunit(qi)
  
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 11 for calling a global function with example usage: test_norm() without return types