code: def test_ParametricRandomHills():
      geom = pv.ParametricRandomHills()
      assert geom.n_points
      with pytest.warns(PyVistaDeprecationWarning):
          geom = pv.ParametricRandomHills(numberofhills=30)
          if pv._version.version_info >= (0, 46):
              raise RuntimeError("Remove this deprecated parameter")
      with pytest.warns(PyVistaDeprecationWarning):
          geom = pv.ParametricRandomHills(hillxvariance=30)
          if pv._version.version_info >= (0, 46):
              raise RuntimeError("Remove this deprecated parameter")
      with pytest.warns(PyVistaDeprecationWarning):
          geom = pv.ParametricRandomHills(hillyvariance=2.5)
          if pv._version.version_info >= (0, 46):
              raise RuntimeError("Remove this deprecated parameter")
      with pytest.warns(PyVistaDeprecationWarning):
          geom = pv.ParametricRandomHills(hillamplitude=2.5)
          if pv._version.version_info >= (0, 46):
              raise RuntimeError("Remove this deprecated parameter")
      with pytest.warns(PyVistaDeprecationWarning):
          geom = pv.ParametricRandomHills(randomseed=1)
          if pv._version.version_info >= (0, 46):
              raise RuntimeError("Remove this deprecated parameter")
      with pytest.warns(PyVistaDeprecationWarning):
          geom = pv.ParametricRandomHills(xvariancescalefactor=13)
          if pv._version.version_info >= (0, 46):
              raise RuntimeError("Remove this deprecated parameter")
      with pytest.warns(PyVistaDeprecationWarning):
          geom = pv.ParametricRandomHills(yvariancescalefactor=13)
          if pv._version.version_info >= (0, 46):
              raise RuntimeError("Remove this deprecated parameter")
      with pytest.warns(PyVistaDeprecationWarning):
          geom = pv.ParametricRandomHills(amplitudescalefactor=13)
          if pv._version.version_info >= (0, 46):
              raise RuntimeError("Remove this deprecated parameter")
      geom = pv.ParametricRandomHills(
          number_of_hills=30,
          hill_x_variance=30,
          hill_y_variance=2.5,
          hill_amplitude=2.5,
          random_seed=1,
          x_variance_scale_factor=13,
          y_variance_scale_factor=13,
          amplitude_scale_factor=13,
      )
      assert geom.n_points
  
imports: import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista.core.errors import PyVistaDeprecationWarning
label_desc: Use image node_id 19 for calling a global function with example usage: test_ParametricRandomHills() without return types