code: def test_nuclear_energy(symbols, geometry, e_ref):
      r"""Test that nuclear_energy returns the correct energy."""
      mol = qchem.Molecule(symbols, geometry)
      args = [mol.coordinates]
      e = qchem.nuclear_energy(mol.nuclear_charges, mol.coordinates)(
          *args
      )
      assert np.allclose(e, e_ref)
  
file_path: pennylane/tests/qchem/test_hartree_fock.py
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 6 for calling a global function with example usage: test_nuclear_energy(symbols, geometry, e_ref) without return types