def test_scoretools_VerticalMoment___init___01(): r'''Initializes vertical moment from empty input. ''' vertical_moment = abjad.VerticalMoment() assert repr(vertical_moment) == 'VerticalMoment()'
def _get_vertical_moment_at(self, offset): import abjad return abjad.VerticalMoment(self, offset)
def _get_vertical_moment(self, governor=None): import abjad offset = abjad.inspect(self).get_timespan().start_offset if governor is None: governor = abjad.inspect(self).get_parentage().root return abjad.VerticalMoment(governor, offset)