code: def test_sturm_q():
      x = var("x")
  
      p = x**3 - 7 * x + 7
      q = 3 * x**2 - 7
      assert sturm_q(p, q, x) == sturm(p)
      assert sturm_q(-p, -q, x) != sturm(-p)
  
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 11 for calling a global function with example usage: test_sturm_q() without return types