code: def test_deprecated_moved_functions():
      from sympy.physics.mechanics.functions import (
          inertia,
          inertia_of_point_mass,
          gravity,
      )
  
      N = ReferenceFrame("N")
      with warns_deprecated_sympy():
          assert inertia(N, 0, 1, 0, 1) == (N.x | N.y) + (N.y | N.x) + (
              N.y | N.y
          )
      with warns_deprecated_sympy():
          assert inertia_of_point_mass(1, N.x + N.y, N) == (
              (N.x | N.x)
              + (N.y | N.y)
              + 2 * (N.z | N.z)
              - (N.x | N.y)
              - (N.y | N.x)
          )
      p = Particle("P")
      with warns_deprecated_sympy():
          assert gravity(-2 * N.z, p) == [
              (p.masscenter, -2 * p.mass * N.z)
          ]
  
file_path: sympy/sympy/physics/mechanics/tests/test_functions.py
imports: from sympy import sin, cos, tan, pi, symbols, Matrix, S, Function
  from sympy.physics.mechanics import Particle, Point, ReferenceFrame, RigidBody
  from sympy.physics.mechanics import angular_momentum, dynamicsymbols, kinetic_energy, linear_momentum, outer, potential_energy, msubs, find_dynamicsymbols, Lagrangian
  from sympy.physics.mechanics.functions import center_of_mass, _validate_coordinates, _parse_linear_solver
  from sympy.testing.pytest import raises, warns_deprecated_sympy
label_desc: Use image node_id 11 for calling a global function with example usage: test_deprecated_moved_functions() without return types