code: def test_args():
      p = Permutation([(0, 3, 1, 2), (4, 5)])
      assert p._cyclic_form is None
      assert Permutation(p) == p
      assert p.cyclic_form == [[0, 3, 1, 2], [4, 5]]
      assert p._array_form == [3, 2, 0, 1, 5, 4]
      p = Permutation((0, 3, 1, 2))
      assert p._cyclic_form is None
      assert p._array_form == [0, 3, 1, 2]
      assert Permutation([0]) == Permutation((0,))
      assert (
          Permutation([[0], [1]])
          == Permutation(((0,), (1,)))
          == Permutation(((0,), [1]))
      )
      assert Permutation([[1, 2]]) == Permutation([0, 2, 1])
      assert Permutation([[1], [4, 2]]) == Permutation([0, 1, 4, 3, 2])
      assert Permutation([[1], [4, 2]], size=1) == Permutation(
          [0, 1, 4, 3, 2]
      )
      assert Permutation([[1], [4, 2]], size=6) == Permutation(
          [0, 1, 4, 3, 2, 5]
      )
      assert Permutation([[0, 1], [0, 2]]) == Permutation(0, 1, 2)
      assert Permutation([], size=3) == Permutation([0, 1, 2])
      assert Permutation(3).list(5) == [0, 1, 2, 3, 4]
      assert Permutation(3).list(-1) == []
      assert Permutation(5)(1, 2).list(-1) == [0, 2, 1]
      assert Permutation(5)(1, 2).list() == [0, 2, 1, 3, 4, 5]
      raises(ValueError, lambda: Permutation([1, 2], [0]))
      # enclosing brackets needed
      raises(ValueError, lambda: Permutation([[1, 2], 0]))
      # enclosing brackets needed on 0
      raises(ValueError, lambda: Permutation([1, 1, 0]))
      raises(
          ValueError, lambda: Permutation([4, 5], size=10)
      )  # where are 0-3?
      # but this is ok because cycles imply that only those listed moved
      assert Permutation(4, 5) == Permutation([0, 1, 2, 3, 5, 4])
  
imports: from itertools import permutations
  from copy import copy
  from sympy.core.expr import unchanged
  from sympy.core.numbers import Integer
  from sympy.core.relational import Eq
  from sympy.core.symbol import Symbol
  from sympy.core.singleton import S
  from sympy.combinatorics.permutations import Permutation, _af_parity, _af_rmul, _af_rmuln, AppliedPermutation, Cycle
  from sympy.printing import sstr, srepr, pretty, latex
  from sympy.testing.pytest import raises, warns_deprecated_sympy
label_desc: Use image node_id 6 for calling a global function with example usage: test_args() without return types