from abjad import *


def test_spanner_offset_start_01( ):
   '''Return start time of spanner in score.'''

   t = Voice(construct.scale(4))
   beam = Beam(t[1:3])
   glissando = Glissando([t])

   r'''\new Voice {
           c'8 \glissando
           d'8 [ \glissando
           e'8 ] \glissando
           f'8
   }'''

   assert beam.offset.start == Rational(1, 8)
   assert glissando.offset.start == Rational(0)
