class_docstr: Tests for ``_recursive_find_layer`` and ``_recursive_find_mcm_stats_layer``
class_docstr_tok: ["Tests","for","``","_recursive_find_layer","``","and","``","_recursive_find_mcm_stats_layer","``"]
docstr: Test operation remains in 0th layer if not blocked
docstr_tok: ["Test","operation","remains","in","0th","layer","if","not","blocked"]
code: def test_first_layer(self):
      """Test operation remains in 0th layer if not blocked"""
      out = _recursive_find_layer(
          layer_to_check=0,
          op_occupied_wires={0},
          occupied_wires_per_layer=[{1}],
      )
      assert out == 0
  
imports: import pytest
  import pennylane
  from pennylane.measurements import MidMeasureMP
  from pennylane.queuing import AnnotatedQueue
  from pennylane.drawer.drawable_layers import _recursive_find_layer, _recursive_find_mcm_stats_layer, drawable_layers
label_desc: Use image node_id 1 for calling the TestRecursiveFindLayer obj's underlying member method code with example usage: obj.test_first_layer() without return types