code: def test_get_max_degrees():
      """Tests max degrees function."""
  
      p = x + y
      q = x**2 + y**3
      h = x**2 + y
  
      dixon = DixonResultant(polynomials=[p, q, h], variables=[x, y])
      dixon_polynomial = dixon.get_dixon_polynomial()
  
      assert dixon.get_max_degrees(dixon_polynomial) == [1, 2]
  
file_path: sympy/sympy/polys/tests/test_multivariate_resultants.py
imports: from sympy.matrices.dense import Matrix
  from sympy.polys.polytools import factor
  from sympy.core import symbols
  from sympy.tensor.indexed import IndexedBase
  from sympy.polys.multivariate_resultants import DixonResultant, MacaulayResultant
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_max_degrees() without return types