diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/visualize/path.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/visualize/path.typ')
| -rw-r--r-- | tests/typ/visualize/path.typ | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/tests/typ/visualize/path.typ b/tests/typ/visualize/path.typ deleted file mode 100644 index d475811f..00000000 --- a/tests/typ/visualize/path.typ +++ /dev/null @@ -1,52 +0,0 @@ -// Test paths. - ---- -#set page(height: 200pt, width: 200pt) -#table( - columns: (1fr, 1fr), - rows: (1fr, 1fr), - align: center + horizon, - path( - fill: red, - closed: true, - ((0%, 0%), (4%, -4%)), - ((50%, 50%), (4%, -4%)), - ((0%, 50%), (4%, 4%)), - ((50%, 0%), (4%, 4%)), - ), - path( - fill: purple, - stroke: 1pt, - (0pt, 0pt), - (30pt, 30pt), - (0pt, 30pt), - (30pt, 0pt), - ), - path( - fill: blue, - stroke: 1pt, - closed: true, - ((30%, 0%), (35%, 30%), (-20%, 0%)), - ((30%, 60%), (-20%, 0%), (0%, 0%)), - ((50%, 30%), (60%, -30%), (60%, 0%)), - ), - path( - stroke: 5pt, - closed: true, - (0pt, 30pt), - (30pt, 30pt), - (15pt, 0pt), - ), -) - ---- -// Error: 7-9 path vertex must have 1, 2, or 3 points -#path(()) - ---- -// Error: 7-47 path vertex must have 1, 2, or 3 points -#path(((0%, 0%), (0%, 0%), (0%, 0%), (0%, 0%))) - ---- -// Error: 7-31 point array must contain exactly two entries -#path(((0%, 0%), (0%, 0%, 0%))) |
