code: def test_Indexed_constructor():
      i, j = symbols("i j", integer=True)
      A = Indexed("A", i, j)
      assert A == Indexed(Symbol("A"), i, j)
      assert A == Indexed(IndexedBase("A"), i, j)
      raises(TypeError, lambda: Indexed(A, i, j))
      raises(IndexException, lambda: Indexed("A"))
      assert A.free_symbols == {A, A.base.label, i, j}
  
imports: from sympy.core import symbols, Symbol, Tuple, oo, Dummy
  from sympy.tensor.indexed import IndexException
  from sympy.testing.pytest import raises
  from sympy.utilities.iterables import iterable
  from sympy.concrete.summations import Sum
  from sympy.core.function import Function, Subs, Derivative
  from sympy.core.relational import StrictLessThan, GreaterThan, StrictGreaterThan, LessThan
  from sympy.core.singleton import S
  from sympy.functions.elementary.exponential import exp, log
  from sympy.functions.elementary.trigonometric import cos, sin
  from sympy.functions.special.tensor_functions import KroneckerDelta
  from sympy.series.order import Order
  from sympy.sets.fancysets import Range
  from sympy.tensor.indexed import IndexedBase, Idx, Indexed
label_desc: Use image node_id 15 for calling a global function with example usage: test_Indexed_constructor() without return types