code: def test_particle_default():
      # Test default
      p = Particle("P")
      assert p.name == "P"
      assert p.mass == symbols("P_mass")
      assert p.masscenter.name == "P_masscenter"
      assert p.potential_energy == 0
      assert p.__str__() == "P"
      assert p.__repr__() == (
          "Particle('P', masscenter=P_masscenter, " "mass=P_mass)"
      )
      raises(AttributeError, lambda: p.frame)
  
file_path: sympy/sympy/physics/mechanics/tests/test_particle.py
imports: from sympy import symbols
  from sympy.physics.mechanics import Point, Particle, ReferenceFrame, inertia
  from sympy.physics.mechanics.body_base import BodyBase
  from sympy.testing.pytest import raises, warns_deprecated_sympy
label_desc: Use image node_id 1 for calling a global function with example usage: test_particle_default() without return types