class_docstr: Test inputs and pre-processing.
class_docstr_tok: ["Test","inputs","and","pre-processing","."]
docstr: Tests that correct wires are set.
docstr_tok: ["Tests","that","correct","wires","are","set","."]
code: def test_wire_indices(self):
      """Tests that correct wires are set."""
      wire_indices = [0, 1]
      H = (
          qml.PauliX(wire_indices[0])
          + qml.PauliZ(wire_indices[1])
          + 0.5
          * qml.PauliX(wire_indices[0])
          @ qml.PauliX(wire_indices[1])
      )
      qml.ApproxTimeEvolution(H, 0.5, 2)
      assert wire_indices[0] in H.wires
      assert wire_indices[1] in H.wires
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 4 for calling the TestInputs obj's underlying member method code with example usage: obj.test_wire_indices() without return types