code: def test_df_params(
      one, two, error, tol_factor, tol_eigval, br, alpha, beta
  ):
      r"""Test that the DoubleFactorization class initiates correct parameters."""
      est = qml.resource.DoubleFactorization(
          one, two, chemist_notation=True
      )
      assert np.allclose(est.one_electron, one)
      assert np.allclose(est.two_electron, two)
      assert np.allclose(est.error, error)
      assert np.allclose(est.tol_factor, tol_factor)
      assert np.allclose(est.tol_eigval, tol_eigval)
      assert np.allclose(est.br, br)
      assert np.allclose(est.alpha, alpha)
      assert np.allclose(est.beta, beta)
  
file_path: pennylane/tests/resource/test_second_quantization.py
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: test_df_params(one, two, error, tol_factor, tol_eigval, br, alpha, beta) without return types