def METHOD_NAME(self):
    """Test TextData equivalent check."""
    obj1 = drawings.TextData(
        data_type=types.LabelType.GATE_NAME,
        bit=self.qubits[0],
        xval=0,
        yval=0,
        text="test",
        latex="test",
        meta=self.meta1,
        styles=self.style1,
    )
    obj2 = drawings.TextData(
        data_type=types.LabelType.GATE_NAME,
        bit=self.qubits[0],
        xval=0,
        yval=0,
        text="test",
        latex="test",
        meta=self.meta2,
        styles=self.style2,
    )
    self.assertEqual(obj1, obj2)