code: def main():
      from fontTools.cu2qu.benchmark import generate_curve
      from fontTools.cu2qu import curve_to_quadratic
  
      tolerance = 0.05
      reconstruct_tolerance = tolerance * 1
      curve = generate_curve()
      quadratics = curve_to_quadratic(curve, tolerance)
      print(
          "cu2qu tolerance %g. qu2cu tolerance %g."
          % (tolerance, reconstruct_tolerance)
      )
      print(
          "One random cubic turned into %d quadratics."
          % len(quadratics)
      )
      curves = quadratic_to_curves([quadratics], reconstruct_tolerance)
      print(
          "Those quadratics turned back into %d cubics. " % len(curves)
      )
      print("Original curve:", curve)
      print("Reconstructed curve(s):", curves)
  
file_path: catboost/contrib/python/fonttools/fontTools/qu2cu/qu2cu.py
imports: from fontTools.misc.bezierTools import splitCubicAtTC
  from collections import namedtuple
  import math
  from typing import List, Tuple, Union
label_desc: Use image node_id 7 for calling a global function with example usage: main() without return types