class_docstr: Tests for auxiliary functions needed to compute integrals
class_docstr_tok: ["Tests","for","auxiliary","functions","needed","to","compute","integrals"]
docstr: Test that expansion function returns correct value.
docstr_tok: ["Test","that","expansion","function","returns","correct","value","."]
code: def test_expansion(self, la, lb, ra, rb, alpha, beta, t, c):
      r"""Test that expansion function returns correct value."""
      assert np.allclose(
          qchem.expansion(la, lb, ra, rb, alpha, beta, t), c
      )
      assert np.allclose(
          qchem.expansion(la, lb, ra, rb, alpha, beta, -1),
          np.array([0.0]),
      )
      assert np.allclose(
          qchem.expansion(0, 1, ra, rb, alpha, beta, 2), np.array([0.0])
      )
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 1 for calling the TestAuxiliary obj's underlying member method code with example usage: obj.test_expansion(la, lb, ra, rb, alpha, beta, t, c) without return types