idea81-audioledger-studio-v.../tests/test_sonifier.py

9 lines
230 B
Python

from idea81_audioledger_studio_verifiable.sonifier import Sonifier
def test_sonifier_basic():
s = Sonifier()
cues = s.map_to_cues(0.75, {"A": 10.0, "B": 20.0})
assert isinstance(cues, list)
assert len(cues) >= 1