class_docstr: Tests for generating basis set default parameters
class_docstr_tok: ["Tests","for","generating","basis","set","default","parameters"]
docstr: Test that correct basis set parameters are generated for a given atom.
docstr_tok: ["Test","that","correct","basis","set","parameters","are","generated","for","a","given","atom","."]
code: def test_atom_basis_data(self, basis_name, atom_name, params_ref):
      """Test that correct basis set parameters are generated for a given atom."""
      params = qchem.atom_basis_data(basis_name, atom_name)
  
      l = [p[0] for p in params]
      l_ref = [p[0] for p in params_ref]
  
      alpha = [p[1] for p in params]
      alpha_ref = [p[1] for p in params_ref]
  
      coeff = [p[2] for p in params]
      coeff_ref = [p[2] for p in params_ref]
  
      assert l == l_ref
      assert alpha == alpha_ref
      assert coeff == coeff_ref
  
file_path: pennylane/tests/qchem/test_basis_set.py
imports: import sys
  import pytest
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 2 for calling the TestBasis obj's underlying member method code with example usage: obj.test_atom_basis_data(basis_name, atom_name, params_ref) without return types