class_docstr: Test conversion of queues to DAGs
class_docstr_tok: ["Test","conversion","of","queues","to","DAGs"]
docstr: Test that depth is computed correctly for operations that define a custom depth > 1
docstr_tok: ["Test","that","depth","is","computed","correctly","for","operations","that","define","a","custom","depth",">","1"]
code: def test_get_depth(self, ops, true_depth):
      """Test that depth is computed correctly for operations that define a custom depth > 1"""
      cg = CircuitGraph(ops, [], wires=[0, 1, 2, 3, 4])
      assert cg.get_depth() == true_depth
  
imports: import io
  import contextlib
  import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.resource import ResourcesOperation, Resources
  from pennylane.circuit_graph import CircuitGraph
  from pennylane.wires import Wires
label_desc: Use image node_id 15 for calling the TestCircuitGraph obj's underlying member method code with example usage: obj.test_get_depth(ops, true_depth) without return types