class_docstr: Test the dunder methods.
docstr: Test iteration over the transform program.
docstr_tok: ["Test","iteration","over","the","transform","program","."]
code: def test_iter_program(self):
      """Test iteration over the transform program."""
      transform_program = TransformProgram()
      transform1 = TransformContainer(transform=first_valid_transform)
  
      for _ in range(10):
          transform_program.push_back(transform1)
  
      assert len(transform_program) == 10
  
      for elem in transform_program:
          assert isinstance(elem, TransformContainer)
          assert elem.transform is first_valid_transform
  
imports: from typing import Sequence, Callable
  import pytest
  import pennylane
  from pennylane.tape import QuantumScript
  from pennylane.transforms.core import transform, TransformProgram, TransformError, TransformContainer
  from pennylane.transforms.core.transform_program import _batch_postprocessing, _apply_postprocessing_stack, null_postprocessing
  from pennylane.typing import ResultBatch, Result
label_desc: Use image node_id 2 for calling the TestTransformProgramDunders obj's underlying member method code with example usage: obj.test_iter_program() without return types