class_docstr: Unit tests for TransmonSettings dataclass
docstr: Test the ``__eq__`` method of the ``RydbergSettings`` class.
docstr_tok: ["Test","the","``","__eq__","``","method","of","the","``","RydbergSettings","``","class","."]
code: def test_equal(self):
      """Test the ``__eq__`` method of the ``RydbergSettings`` class."""
      settings0 = RydbergSettings(register0)
      settings1 = RydbergSettings(register1, interaction_coeff=2.0)
      settings2 = RydbergSettings(register0, interaction_coeff=0.0)
      assert settings0 != settings1
      assert settings1 != settings2
      assert settings0 == settings2
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.pulse import rydberg_interaction, rydberg_drive
  from pennylane.pulse.hardware_hamiltonian import HardwareHamiltonian, HardwarePulse, AmplitudeAndPhase
  from pennylane.wires import Wires
  from pennylane.pulse.rydberg import RydbergSettings
label_desc: Use image node_id 2 for calling the TestRydbergSettings obj's underlying member method code with example usage: obj.test_equal() without return types