code: def _test():
      """
      >>> import math
      >>> calcBounds([])
      (0, 0, 0, 0)
      >>> calcBounds([(0, 40), (0, 100), (50, 50), (80, 10)])
      (0, 10, 80, 100)
      >>> updateBounds((0, 0, 0, 0), (100, 100))
      (0, 0, 100, 100)
      >>> pointInRect((50, 50), (0, 0, 100, 100))
      True
      >>> pointInRect((0, 0), (0, 0, 100, 100))
      True
      >>> pointInRect((100, 100), (0, 0, 100, 100))
      True
      >>> not pointInRect((101, 100), (0, 0, 100, 100))
      True
      >>> list(pointsInRect([(50, 50), (0, 0), (100, 100), (101, 100)], (0, 0, 100, 100)))
      [True, True, True, False]
      >>> vectorLength((3, 4))
      5.0
      >>> vectorLength((1, 1)) == math.sqrt(2)
      True
      >>> list(asInt16([0, 0.1, 0.5, 0.9]))
      [0, 0, 1, 1]
      >>> normRect((0, 10, 100, 200))
      (0, 10, 100, 200)
      >>> normRect((100, 200, 0, 10))
      (0, 10, 100, 200)
      >>> scaleRect((10, 20, 50, 150), 1.5, 2)
      (15.0, 40, 75.0, 300)
      >>> offsetRect((10, 20, 30, 40), 5, 6)
      (15, 26, 35, 46)
      >>> insetRect((10, 20, 50, 60), 5, 10)
      (15, 30, 45, 50)
      >>> insetRect((10, 20, 50, 60), -5, -10)
      (5, 10, 55, 70)
      >>> intersects, rect = sectRect((0, 10, 20, 30), (0, 40, 20, 50))
      >>> not intersects
      True
      >>> intersects, rect = sectRect((0, 10, 20, 30), (5, 20, 35, 50))
      >>> intersects
      1
      >>> rect
      (5, 20, 20, 30)
      >>> unionRect((0, 10, 20, 30), (0, 40, 20, 50))
      (0, 10, 20, 50)
      >>> rectCenter((0, 0, 100, 200))
      (50.0, 100.0)
      >>> rectCenter((0, 0, 100, 199.0))
      (50.0, 99.5)
      >>> intRect((0.9, 2.9, 3.1, 4.1))
      (0, 2, 4, 5)
      """
  
imports: from fontTools.misc.roundTools import otRound
  from fontTools.misc.vector import Vector
  import math
  import warnings
label_desc: Use image node_id 19 for calling a global function with example usage: _test() without return types