code: def test_arguments():
      """Functions accepting `Point` objects in `geometry`
      should also accept tuples, lists, and generators and
      automatically convert them to points."""
      from sympy.utilities.iterables import subsets
  
      singles2d = ((1, 2), [1, 3], Point(1, 5))
      doubles2d = subsets(singles2d, 2)
      l2d = Line(Point2D(1, 2), Point2D(2, 3))
      singles3d = ((1, 2, 3), [1, 2, 4], Point(1, 2, 6))
      doubles3d = subsets(singles3d, 2)
      l3d = Line(Point3D(1, 2, 3), Point3D(1, 1, 2))
      singles4d = ((1, 2, 3, 4), [1, 2, 3, 5], Point(1, 2, 3, 7))
      doubles4d = subsets(singles4d, 2)
      l4d = Line(Point(1, 2, 3, 4), Point(2, 2, 2, 2))
      # test 2D
      test_single = [
          "contains",
          "distance",
          "equals",
          "parallel_line",
          "perpendicular_line",
          "perpendicular_segment",
          "projection",
          "intersection",
      ]
      for p in doubles2d:
          Line2D(*p)
      for func in test_single:
          for p in singles2d:
              getattr(l2d, func)(p)
      # test 3D
      for p in doubles3d:
          Line3D(*p)
      for func in test_single:
          for p in singles3d:
              getattr(l3d, func)(p)
      # test 4D
      for p in doubles4d:
          Line(*p)
      for func in test_single:
          for p in singles4d:
              getattr(l4d, func)(p)
  
imports: from sympy.core.numbers import Float, Rational, oo, pi
  from sympy.core.relational import Eq
  from sympy.core.singleton import S
  from sympy.core.symbol import Symbol, symbols
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.functions.elementary.trigonometric import acos, cos, sin
  from sympy.sets import EmptySet
  from sympy.simplify.simplify import simplify
  from sympy.functions.elementary.trigonometric import tan
  from sympy.geometry import Circle, GeometryError, Line, Point, Ray, Segment, Triangle, intersection, Point3D, Line3D, Ray3D, Segment3D, Point2D, Line2D, Plane
  from sympy.geometry.line import Undecidable
  from sympy.geometry.polygon import _asa
  from sympy.utilities.iterables import cartes
  from sympy.testing.pytest import raises, warns
label_desc: Use image node_id 10 for calling a global function with example usage: test_arguments() without return types