class_docstr: Test operations are placed in the correct locations.
docstr: Test non-blocking gates end up on same layer.
docstr_tok: ["Test","non-blocking","gates","end","up","on","same","layer","."]
code: def test_adjacent_ops(self):
      """Test non-blocking gates end up on same layer."""
  
      @qml.qnode(qml.device("default.qubit", wires=3))
      def circ():
          _ = [qml.PauliX(i) for i in range(3)]
          return [qml.expval(qml.PauliZ(i)) for i in range(3)]
  
      expected = "0: ──X─┤  <Z>\n1: ──X─┤  <Z>\n2: ──X─┤  <Z>"
      assert draw(circ)() == expected
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.drawer import draw
label_desc: Use image node_id 1 for calling the TestLayering obj's underlying member method code with example usage: obj.test_adjacent_ops() and returns: unknown