docstr: Test that the adjoint is correctly taken into account
docstr_tok: ["Test","that","the","adjoint","is","correctly","taken","into","account"]
code: def test_adjoint(self, op_class):
      """Test that the adjoint is correctly taken into account"""
      rounding_precision = 6
      res = qml.eigvals(qml.adjoint(op_class))(0.54, wires=0)
      expected = op_class(-0.54, wires=0).eigvals()
      assert set(np.around(res, rounding_precision)) == set(
          np.around(expected, rounding_precision)
      )
  
imports: from functools import reduce
  import pytest
  import scipy
  from gate_data import CNOT, H, I, S, X, Y, Z
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 7 for calling the TestSingleOperation obj's underlying member method code with example usage: obj.test_adjoint(op_class) without return types