summaryrefslogtreecommitdiff
path: root/tests/typ/insert/circle.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-10-05 18:51:21 +0200
committerLaurenz <laurmaedje@gmail.com>2021-10-05 18:51:21 +0200
commitdcdcf53831aa477b575c9e6ab37eb64f14317c74 (patch)
tree43b742ddbcb623254d8d6e6e65d2c432cb7509e8 /tests/typ/insert/circle.typ
parent5e06941c63425ab10e08e4d533939c7309cfe6ce (diff)
Rename insert/ to elements/
Diffstat (limited to 'tests/typ/insert/circle.typ')
-rw-r--r--tests/typ/insert/circle.typ48
1 files changed, 0 insertions, 48 deletions
diff --git a/tests/typ/insert/circle.typ b/tests/typ/insert/circle.typ
deleted file mode 100644
index c46d37e4..00000000
--- a/tests/typ/insert/circle.typ
+++ /dev/null
@@ -1,48 +0,0 @@
-// Test the `circle` function.
-
----
-// Test auto sizing.
-
-Auto-sized circle. \
-#circle(fill: rgb("eb5278"))[
- #align(center, center)
- But, soft!
-]
-
-Center-aligned rect in auto-sized circle.
-#circle(fill: forest)[
- #align(center, center)
- #rect(fill: conifer, pad(5pt)[
- But, soft!
- ])
-]
-
-100%-width rect in auto-sized circle. \
-#circle(fill: forest,
- rect(width: 100%, fill: conifer)[
- But, soft! what light through yonder window breaks?
- ]
-)
-
-Expanded by height.
-#circle(fill: conifer)[A \ B \ C]
-
----
-// Test relative sizing.
-#rect(width: 100%, height: 50pt, fill: rgb("aaa"))[
- #align(center, center)
- #font(fill: white)
- #circle(radius: 10pt, fill: eastern)[A]
- #circle(height: 60%, fill: eastern)[B]
- #circle(width: 20% + 20pt, fill: eastern)[C]
-]
-
----
-// Radius wins over width and height.
-// Error: 23-34 unexpected argument
-#circle(radius: 10pt, width: 50pt, height: 100pt, fill: eastern)
-
----
-// Width wins over height.
-// Error: 9-21 unexpected argument
-#circle(height: 50pt, width: 20pt, fill: eastern)