code: def test_points():
      ps = points()
  
      ps.resize(5)
      assert len(ps) == 5
      for i in range(5):
          assert ps[i].x == 0
          assert ps[i].y == 0
  
      ps.clear()
      assert len(ps) == 0
  
      ps.extend([point(1, 2), point(3, 4)])
      assert len(ps) == 2
  
      ser = pickle.dumps(ps, 2)
      deser = pickle.loads(ser)
      assert deser[0].x == 1
      assert deser[0].y == 2
      assert deser[1].x == 3
      assert deser[1].y == 4
  
imports: from dlib import point, points
label_desc: Use image node_id 4 for calling a global function with example usage: test_points() without return types