code: def test_df_lamb(one, two, lamb):
      r"""Test that DoubleFactorization class returns a correct norm."""
      est = qml.resource.DoubleFactorization(one, two)
  
      assert np.allclose(est.lamb, lamb)
  
file_path: pennylane/tests/resource/test_second_quantization.py
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: test_df_lamb(one, two, lamb) without return types