class_docstr: Tests for moment matrix
docstr: Test that moment_matrix returns the correct matrix.
docstr_tok: ["Test","that","moment_matrix","returns","the","correct","matrix","."]
code: def test_moment_matrix(self, symbols, geometry, alpha, e, idx, s_ref):
      r"""Test that moment_matrix returns the correct matrix."""
      mol = qchem.Molecule(symbols, geometry, alpha=alpha)
      args = [alpha]
      s = qchem.moment_matrix(mol.basis_set, e, idx)(*args)
      assert np.allclose(s, s_ref)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 1 for calling the TestMomentMat obj's underlying member method code with example usage: obj.test_moment_matrix(symbols, geometry, alpha, e, idx, s_ref) without return types