class_docstr: Tests for generating a molecule object.
class_docstr_tok: ["Tests","for","generating","a","molecule","object","."]
docstr: Test that the computed atomic orbital value is correct.
docstr_tok: ["Test","that","the","computed","atomic","orbital","value","is","correct","."]
code: def test_atomic_orbital(
      self, symbols, geometry, alpha, coeff, index, position, ref_value
  ):
      r"""Test that the computed atomic orbital value is correct."""
      mol = qchem.Molecule(symbols, geometry, alpha=alpha, coeff=coeff)
  
      x, y, z = position
      ao = mol.atomic_orbital(index)
      ao_value = ao(x, y, z)
  
      assert np.allclose(ao_value, ref_value)
  
file_path: pennylane/tests/qchem/test_molecule.py
imports: import pytest
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 9 for calling the TestMolecule obj's underlying member method code with example usage: obj.test_atomic_orbital(symbols, geometry, alpha, coeff, index, position, ref_value) without return types