code: def test_bezout():
      x = var("x")
  
      p = -2 * x**5 + 7 * x**3 + 9 * x**2 - 3 * x + 1
      q = -10 * x**4 + 21 * x**2 + 18 * x - 3
      assert bezout(p, q, x, "bz").det() == sylvester(p, q, x, 2).det()
      assert bezout(p, q, x, "bz").det() != sylvester(p, q, x, 1).det()
      assert bezout(p, q, x, "prs") == backward_eye(5) * bezout(
          p, q, x, "bz"
      ) * backward_eye(5)
  
imports: from sympy.core.symbol import var
  from sympy.polys.polytools import pquo, prem, sturm, subresultants
  from sympy.matrices import Matrix
  from sympy.polys.subresultants_qq_zz import sylvester, res, res_q, res_z, bezout, subresultants_sylv, modified_subresultants_sylv, subresultants_bezout, modified_subresultants_bezout, backward_eye, sturm_pg, sturm_q, sturm_amv, euclid_pg, euclid_q, euclid_amv, modified_subresultants_pg, subresultants_pg, subresultants_amv_q, quo_z, rem_z, subresultants_amv, modified_subresultants_amv, subresultants_rem, subresultants_vv, subresultants_vv_2
label_desc: Use image node_id 7 for calling a global function with example usage: test_bezout() without return types