code: def test_normalize_angle_halfcircle():
      for i in range(-10, 10):
          theta = 0.5 * i * np.pi
          norm = normalize_angle_halfcircle(theta)
          assert 0 <= norm < np.pi
          assert norm / np.pi * 2 == i % 2
  
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 13 for calling a global function with example usage: test_normalize_angle_halfcircle() without return types