示例#1
0
def test_TimeSignature_07():
    time_signature = auxjad.TimeSignature((1, 1))
    time_signature.simplify_ratio(min_denominator=1)
    assert format(time_signature) == abjad.String.normalize(
        r'auxjad.TimeSignature((1, 1))')
示例#2
0
def test_TimeSignature_01():
    time_signature = auxjad.TimeSignature((4, 8))
    time_signature.simplify_ratio()
    assert format(time_signature) == abjad.String.normalize(
        r'auxjad.TimeSignature((2, 4))')
def test_TimeSignature_01():
    time_signature = auxjad.TimeSignature((4, 8))
    time_signature.simplify_ratio()
    assert time_signature.pair == (2, 4)
def test_TimeSignature_07():
    time_signature = auxjad.TimeSignature((1, 1))
    time_signature.simplify_ratio(min_denominator=1)
    assert time_signature.pair == (1, 1)
def test_TimeSignature_06():
    time_signature = auxjad.TimeSignature((1, 1))
    time_signature.simplify_ratio()
    assert time_signature.pair == (4, 4)
def test_TimeSignature_05():
    time_signature = auxjad.TimeSignature((4, 8))
    time_signature.simplify_ratio(min_denominator=2)
    assert time_signature.pair == (1, 2)
def test_TimeSignature_03():
    time_signature = auxjad.TimeSignature((10, 16))
    time_signature.simplify_ratio()
    assert time_signature.pair == (5, 8)