code: def test_surface_use_cm():
      # verify that SurfaceOver2DRangeSeries and ParametricSurfaceSeries get
      # the same value for use_cm
  
      x, y, u, v = symbols("x, y, u, v")
  
      # they read the same value from default settings
      s1 = SurfaceOver2DRangeSeries(
          cos(x**2 + y**2), (x, -2, 2), (y, -2, 2)
      )
      s2 = ParametricSurfaceSeries(
          u * cos(v), u * sin(v), u, (u, 0, 1), (v, 0, 2 * pi)
      )
      assert s1.use_cm == s2.use_cm
  
      # they get the same value
      s1 = SurfaceOver2DRangeSeries(
          cos(x**2 + y**2), (x, -2, 2), (y, -2, 2), use_cm=False
      )
      s2 = ParametricSurfaceSeries(
          u * cos(v),
          u * sin(v),
          u,
          (u, 0, 1),
          (v, 0, 2 * pi),
          use_cm=False,
      )
      assert s1.use_cm == s2.use_cm
  
      # they get the same value
      s1 = SurfaceOver2DRangeSeries(
          cos(x**2 + y**2), (x, -2, 2), (y, -2, 2), use_cm=True
      )
      s2 = ParametricSurfaceSeries(
          u * cos(v),
          u * sin(v),
          u,
          (u, 0, 1),
          (v, 0, 2 * pi),
          use_cm=True,
      )
      assert s1.use_cm == s2.use_cm
  
imports: from sympy import latex, exp, symbols, I, pi, sin, cos, tan, log, sqrt, re, im, arg, frac, Sum, S, Abs, lambdify, Function, dsolve, Eq, floor, Tuple
  from sympy.external import import_module
  from sympy.plotting.series import LineOver1DRangeSeries, Parametric2DLineSeries, Parametric3DLineSeries, SurfaceOver2DRangeSeries, ContourSeries, ParametricSurfaceSeries, ImplicitSeries, _set_discretization_points, List2DSeries
  from sympy.testing.pytest import raises, warns, XFAIL, skip, ignore_warnings
label_desc: Use image node_id 18 for calling a global function with example usage: test_surface_use_cm() without return types