code: def test_tick_equality(cls, n, m):
      assume(m != n)
      # tick == tock iff tick.n == tock.n
      left = cls(n)
      right = cls(m)
      assert left != right
  
      right = cls(n)
      assert left == right
      assert not left != right
  
      if n != 0:
          assert cls(n) != cls(-n)
  
imports: from datetime import datetime, timedelta
  from hypothesis import assume, example, given
  import numpy
  import pytest
  from pandas._libs.tslibs.offsets import delta_to_tick
  from pandas.errors import OutOfBoundsTimedelta
  from pandas import Timedelta, Timestamp
  import pandas._testing
  from pandas._testing._hypothesis import INT_NEG_999_TO_POS_999
  from pandas.tests.tseries.offsets.common import assert_offset_equal
  from pandas.tseries import offsets
  from pandas.tseries.offsets import Hour, Micro, Milli, Minute, Nano, Second
label_desc: Use image node_id 4 for calling a global function with example usage: test_tick_equality(cls, n, m) without return types