class_docstr: Tests for overlap integrals
class_docstr_tok: ["Tests","for","overlap","integrals"]
docstr: Test that overlap_integral function returns a correct value for the overlap integral.
docstr_tok: ["Test","that","overlap_integral","function","returns","a","correct","value","for","the","overlap","integral","."]
code: def test_overlap_integral(
      self, symbols, geometry, alpha, coef, r, o_ref
  ):
      r"""Test that overlap_integral function returns a correct value for the overlap integral."""
      mol = qchem.Molecule(symbols, geometry)
      basis_a = mol.basis_set[0]
      basis_b = mol.basis_set[1]
      args = [p for p in [alpha, coef, r] if p.requires_grad]
  
      o = qchem.overlap_integral(basis_a, basis_b)(*args)
      assert np.allclose(o, o_ref)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 2 for calling the TestOverlap obj's underlying member method code with example usage: obj.test_overlap_integral(symbols, geometry, alpha, coef, r, o_ref) without return types