class_docstr: Tests for helper functions.
code: def test_process_ids(
      self, circuit, enc_args, argnum, enc_args_exp, argnum_exp
  ):
      dev = qml.device("default.qubit", wires=2)
      qnode = qml.QNode(circuit, dev)
      encoding_args, argnum = _process_ids(enc_args, argnum, qnode)
      assert encoding_args == enc_args_exp
      assert all(np.issubdtype(type(num), int) for num in argnum)
      assert np.allclose(argnum, argnum_exp)
  
imports: from collections import OrderedDict
  import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.fourier.qnode_spectrum import _process_ids, qnode_spectrum
  from pennylane.measurements import SampleMP, StateMP, VarianceMP
label_desc: Use image node_id 1 for calling the TestHelpers obj's underlying member method code with example usage: obj.test_process_ids(circuit, enc_args, argnum, enc_args_exp, argnum_exp) without return types