code: def test_vecangle():
      v1 = pt(1, 0)
      v2 = pt(2, 0)
      v3 = pt(1, 1)
      v4 = pt(0, 1)
      v5 = pt(0, -1)
  
      assert np.isnan(
          vecangle(pt(0, 0), v1)
      )  # pt(0, 0) is vec of no length
      assert vecangle(v1, v2) == 0
      assert round(vecangle(v1, v3), 4) == round(math.radians(45), 4)
      assert vecangle(v2, v4) == vecangle(v1, v4) == math.radians(90)
      assert vecangle(v2, v5) == math.radians(90)
  
imports: import math
  import pytest
  from hypothesis import given
  import hypothesis.strategies
  import numpy
  from pdftabextract.geom import pt, ptdist, vecangle, vecrotate, overlap, lineintersect, rect, rectcenter, rectarea, rectintersect, normalize_angle, normalize_angle_halfcircle, project_polarcoord_lines
label_desc: Use image node_id 3 for calling a global function with example usage: test_vecangle() without return types