added note tests

This commit is contained in:
2025-07-14 19:06:30 +02:00
parent 964d708280
commit 2a46612bfb
19 changed files with 128 additions and 3 deletions

4
tests/note/shape/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# generated by tytanic, do not edit
diff/**
out/**

BIN
tests/note/shape/ref/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

14
tests/note/shape/test.typ Normal file
View File

@ -0,0 +1,14 @@
#set page(width: auto, height: auto)
#import "/src/lib.typ": *
#diagram({
_par("caller")
_par("server")
_seq("caller", "server", comment: [conReq])
_note("over", [idle], pos: "caller", shape: "hex")
_seq("server", "caller", comment: [conConf])
_note("over", ["r" as rectangle\ "h" as hexagon], pos: "server", shape: "rect")
_note("over", [this is\ on several\ lines], pos: "server", shape: "rect")
_note("over", [this is\ on several\ lines], pos: "caller", shape: "hex")
})