2026-08-16 22:04:11 +03:00

7 lines
237 B
Python

from lawsynth_notebook.events import normalize_events
def test_events_are_sorted_reproducibly():
values = normalize_events([{"time":2,"kind":"b"},{"time":1,"kind":"a"}])
assert [event["kind"] for event in values] == ["a", "b"]