code: def test_ptdist():
      p1 = pt(0, 0)
      p2 = pt(1, 0)
      p3 = pt(1, 1)
  
      assert ptdist(p1, p1) == 0
      assert ptdist(p1, p2) == 1
      assert ptdist(p2, p1) == ptdist(p1, p2)
  
      assert ptdist(p1, p3) == math.sqrt(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 2 for calling a global function with example usage: test_ptdist() without return types