from abjad import *


def test_tempo_indication_eq_01( ):
   '''Tempo indications compare equal when duration and mark match.'''
   
   t1 = TempoIndication(Rational(3, 32), 52)
   t2 = TempoIndication(Rational(3, 32), 52)
   assert t1 == t2
   

def test_tempo_indication_eq_02( ):
   '''Tempo indications do not compare equal
   when mathematically equal.
   '''
   
   t1 = TempoIndication(Rational(3, 32), 52)
   t2 = TempoIndication(Rational(6, 32), 104)
   assert not t1 == t2
