summaryrefslogtreecommitdiff
path: root/tests/typ/layout/container.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/container.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/container.typ')
-rw-r--r--tests/typ/layout/container.typ50
1 files changed, 0 insertions, 50 deletions
diff --git a/tests/typ/layout/container.typ b/tests/typ/layout/container.typ
deleted file mode 100644
index 8d4ec34b..00000000
--- a/tests/typ/layout/container.typ
+++ /dev/null
@@ -1,50 +0,0 @@
-// Test the `box` and `block` containers.
-
----
-// Test box in paragraph.
-A #box[B \ C] D.
-
-// Test box with height.
-Spaced \
-#box(height: 0.5cm) \
-Apart
-
----
-// Test block sizing.
-#set page(height: 120pt)
-#set block(spacing: 0pt)
-#block(width: 90pt, height: 80pt, fill: red)[
- #block(width: 60%, height: 60%, fill: green)
- #block(width: 50%, height: 60%, fill: blue)
-]
-
----
-// Test box sizing with layoutable child.
-#box(
- width: 50pt,
- height: 50pt,
- fill: yellow,
- path(
- fill: purple,
- (0pt, 0pt),
- (30pt, 30pt),
- (0pt, 30pt),
- (30pt, 0pt),
- ),
-)
-
----
-// Test fr box.
-Hello #box(width: 1fr, rect(height: 0.7em, width: 100%)) World
-
----
-// Test block over multiple pages.
-
-#set page(height: 60pt)
-
-First!
-
-#block[
- But, soft! what light through yonder window breaks? It is the east, and Juliet
- is the sun.
-]