Simple support for re-evaluating cycles with get_item

This commit is contained in:
2023-02-21 20:56:06 +02:00
parent 973d3eab2b
commit acbfacee59
2 changed files with 13 additions and 3 deletions

View File

@ -71,7 +71,7 @@ def test_pitch_octaves(pattern: str, expected: list):
[
("w [1 [2 3]]", [0.5, 0.25, 0.25]),
("1.0 [1 [2 3]] 4 [3 [4 5]]", [0.5, 0.25, 0.25, 1.0, 0.5, 0.25, 0.25]),
("0.5 (0 0.25 3)+1", [0.5, 0.25])
("0.5 (0 0.25 3)+1", [0.5, 0.5])
]
)
def test_subdivisions(pattern: str, expected: list):