Files
chronos/tests/sequence/sync/test.typ
LordBaryhobal fab45bd8ab
All checks were successful
CI / tests (push) Successful in 18s
added test for sync edge cases
2026-01-21 16:21:40 +01:00

47 lines
719 B
Typst

#set page(width: auto, height: auto)
#import "/src/lib.typ": *
#diagram({
_par("a")
_par("b")
_par("c")
_sync({
_seq("b", "a")
_seq("b", "c")
})
_gap()
_sync({
_seq("b", "a", comment: [Comment])
_seq("b", "c")
})
_gap()
_sync({
_seq("b", "a")
_seq("b", "c", comment: [Comment])
})
_gap()
_sync({
_seq("b", "a", comment: [Two\ lines])
_seq("b", "c", comment: [Comment])
})
_sync({
_seq("b", "a")
_seq("b", "c", slant: 10)
})
_sync({
_seq("b", "a")
_seq("b", "b")
})
})
#pagebreak()
#diagram({
_sync({
_seq("a", "b", comment: [Abcdefgh])
_seq("b", "c", comment: [Foo\ bar], slant: 10)
_seq("c", "c", slant: 20)
})
})