class_docstr: Test that adjacent rotation gates of the same type will add the angles.
docstr: Test that adjacent controlled rotations on the same wires in different order don't merge.
docstr_tok: ["Test","that","adjacent","controlled","rotations","on","the","same","wires","in","different","order","do","n't","merge","."]
code: def test_controlled_rotation_no_merge(self):
      """Test that adjacent controlled rotations on the same wires in different order don't merge."""
  
      def qfunc():
          qml.CRX(0.2, wires=["w1", "w2"])
          qml.CRX(0.3, wires=["w2", "w1"])
  
      transformed_qfunc = merge_rotations(qfunc)
  
      ops = qml.tape.make_qscript(transformed_qfunc)().operations
  
      names_expected = ["CRX", "CRX"]
      wires_expected = [Wires(["w1", "w2"]), Wires(["w2", "w1"])]
      compare_operation_lists(ops, names_expected, wires_expected)
  
      assert ops[0].parameters[0] == 0.2
      assert ops[1].parameters[0] == 0.3
  
imports: import pytest
  from utils import compare_operation_lists
  import pennylane
  from pennylane import numpy
  from pennylane.wires import Wires
  from pennylane.transforms.optimization import merge_rotations
label_desc: Use image node_id 10 for calling the TestMergeRotations obj's underlying member method code with example usage: obj.test_controlled_rotation_no_merge() without return types