class_docstr: Unit tests for TransmonSettings dataclass
docstr: Test the ``__eq__`` method of the ``TransmonSettings`` class.
docstr_tok: ["Test","the","``","__eq__","``","method","of","the","``","TransmonSettings","``","class","."]
code: def test_equal(self):
      """Test the ``__eq__`` method of the ``TransmonSettings`` class."""
      settings0 = TransmonSettings(
          connections0, qubit_freq0, g0, [0.0] * len(qubit_freq0)
      )
      settings1 = TransmonSettings(
          connections1, qubit_freq1, g1, [0.0] * len(qubit_freq1)
      )
      settings2 = TransmonSettings(
          connections0, qubit_freq0, g0, [0.0] * len(qubit_freq0)
      )
      assert settings0 != settings1
      assert settings1 != settings2
      assert settings0 == settings2
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.pulse import HardwareHamiltonian, transmon_interaction, transmon_drive
  from pennylane.pulse.transmon import TransmonSettings, a, ad, AmplitudeAndPhaseAndFreq, _reorder_AmpPhaseFreq, callable_freq_to_angular
  from pennylane.pulse.hardware_hamiltonian import HardwarePulse
  from pennylane.wires import Wires
label_desc: Use image node_id 2 for calling the TestTransmonSettings obj's underlying member method code with example usage: obj.test_equal() without return types