예제 #1
0
def pytest_funcarg__score_line(request):
    s = score.Score()
    humdrum.parse_line("**kern	**kern", s)
    humdrum.parse_line("4c	4d", s)
    return s
예제 #2
0
def pytest_funcarg__line_comments(request):
    return humdrum.parse_line("!foo\t!! bar", score.Score())
예제 #3
0
def pytest_funcarg__line1(request):
    return humdrum.parse_line("**kern\t**kern", score.Score())
예제 #4
0
def test_parse_line_blankline():
    # FIXME: is this a bug?
    f = humdrum.parse_line("", score.Score())
    assert isinstance(f[0], score.BlankLine)
예제 #5
0
def test_parse_line_record():
    f = humdrum.parse_line("!! Global comment", score.Score())
    assert isinstance(f[0], score.Comment)
예제 #6
0
def test_parse_line_title():
    f = humdrum.parse_line("!!!OTL: My Music", score.Score())
    assert f.title == 'My Music'
예제 #7
0
def test_parse_line_composer():
    f = humdrum.parse_line("!!!COM: Pedro Kroger", score.Score())
    assert f.composer == 'Pedro Kroger'