summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/gradient-relative-conic.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/visualize/gradient-relative-conic.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/visualize/gradient-relative-conic.typ')
-rw-r--r--tests/typ/visualize/gradient-relative-conic.typ29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/typ/visualize/gradient-relative-conic.typ b/tests/typ/visualize/gradient-relative-conic.typ
deleted file mode 100644
index 26b509af..00000000
--- a/tests/typ/visualize/gradient-relative-conic.typ
+++ /dev/null
@@ -1,29 +0,0 @@
-// Test whether `relative: "parent"` works correctly on conic gradients.
-
----
-// The image should look as if there is a single gradient that is being used for
-// both the page and the rectangles.
-#let grad = gradient.conic(red, blue, green, purple, relative: "parent");
-#let my-rect = rect(width: 50%, height: 50%, fill: grad)
-#set page(
- height: 200pt,
- width: 200pt,
- fill: grad,
- background: place(top + left, my-rect),
-)
-#place(top + right, my-rect)
-#place(bottom + center, rotate(45deg, my-rect))
-
----
-// The image should look as if there are multiple gradients, one for each
-// rectangle.
-#let grad = gradient.conic(red, blue, green, purple, relative: "self");
-#let my-rect = rect(width: 50%, height: 50%, fill: grad)
-#set page(
- height: 200pt,
- width: 200pt,
- fill: grad,
- background: place(top + left, my-rect),
-)
-#place(top + right, my-rect)
-#place(bottom + center, rotate(45deg, my-rect))