diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/layout/container.png | bin | 20514 -> 20435 bytes | |||
| -rw-r--r-- | tests/typ/layout/container.typ | 19 | ||||
| -rw-r--r-- | tests/typ/visualize/path.typ | 3 |
3 files changed, 14 insertions, 8 deletions
diff --git a/tests/ref/layout/container.png b/tests/ref/layout/container.png Binary files differindex eff06f1a..f016385b 100644 --- a/tests/ref/layout/container.png +++ b/tests/ref/layout/container.png diff --git a/tests/typ/layout/container.typ b/tests/typ/layout/container.typ index d9b62f5e..8a711b10 100644 --- a/tests/typ/layout/container.typ +++ b/tests/typ/layout/container.typ @@ -11,13 +11,18 @@ Apart --- // Test box sizing. -#box(width: 50pt, height: 50pt, fill: yellow, path( - fill: purple, - (0pt, 0pt), - (30pt, 30pt), - (0pt, 30pt), - (30pt, 0pt), -)) +#box( + width: 50pt, + height: 50pt, + fill: yellow, + path( + fill: purple, + (0pt, 0pt), + (30pt, 30pt), + (0pt, 30pt), + (30pt, 0pt), + ), +) --- // Test fr box. diff --git a/tests/typ/visualize/path.typ b/tests/typ/visualize/path.typ index 7a260eb8..c7c1af50 100644 --- a/tests/typ/visualize/path.typ +++ b/tests/typ/visualize/path.typ @@ -8,7 +8,6 @@ align: center + horizon, path( fill: red, - stroke: none, closed: true, ((0%, 0%), (4%, -4%)), ((50%, 50%), (4%, -4%)), @@ -17,6 +16,7 @@ ), path( fill: purple, + stroke: 1pt, (0pt, 0pt), (30pt, 30pt), (0pt, 30pt), @@ -24,6 +24,7 @@ ), path( fill: blue, + stroke: 1pt, closed: true, ((30%, 0%), (35%, 30%), (-20%, 0%)), ((30%, 60%), (-20%, 0%), (0%, 0%)), |
