code: def test_issue_6355():
      # This tests a bug in the Wang algorithm that occurred only with a very
      # specific set of random numbers.
      random_sequence = [
          -1,
          -1,
          0,
          0,
          0,
          0,
          -1,
          -1,
          0,
          -1,
          3,
          -1,
          3,
          3,
          3,
          3,
          -1,
          3,
      ]
  
      R, x, y, z = ring("x,y,z", ZZ)
      f = 2 * x**2 + y * z - y - z**2 + z
  
      assert R.dmp_zz_wang(f, seed=random_sequence) == [f]
  
imports: from sympy.polys.rings import ring, xring
  from sympy.polys.domains import FF, ZZ, QQ, ZZ_I, QQ_I, RR, EX
  from sympy.polys import polyconfig
  from sympy.polys.polyerrors import DomainError
  from sympy.polys.polyclasses import ANP
  from sympy.polys.specialpolys import f_polys, w_polys
  from sympy.core.numbers import I
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.functions.elementary.trigonometric import sin
  from sympy.ntheory.generate import nextprime
  from sympy.testing.pytest import raises, XFAIL
label_desc: Use image node_id 14 for calling a global function with example usage: test_issue_6355() without return types