summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/repr.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/compiler/repr.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/compiler/repr.typ')
-rw-r--r--tests/typ/compiler/repr.typ55
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/typ/compiler/repr.typ b/tests/typ/compiler/repr.typ
deleted file mode 100644
index 5aaf5710..00000000
--- a/tests/typ/compiler/repr.typ
+++ /dev/null
@@ -1,55 +0,0 @@
-// Test representation of values in the document.
-
----
-// Literal values.
-#auto \
-#none (empty) \
-#true \
-#false
-
----
-// Numerical values.
-#1 \
-#1.0e-4 \
-#3.15 \
-#1e-10 \
-#50.368% \
-#0.0000012345pt \
-#4.5cm \
-#12e1pt \
-#2.5rad \
-#45deg \
-#1.7em \
-#(1cm + 0em) \
-#(2em + 10pt) \
-#(100% + (2em + 2pt)) \
-#(100% + 0pt) \
-#(100% - 2em + 2pt) \
-#(100% - 2pt) \
-#2.3fr
-
----
-// Colors and strokes.
-#set text(0.8em)
-#rgb("f7a205") \
-#(2pt + rgb("f7a205"))
-
-// Strings and escaping.
-#raw(repr("hi"), lang: "typc")
-#repr("a\n[]\"\u{1F680}string")
-
-// Content.
-#raw(lang: "typc", repr[*Hey*]) \
-#raw(lang: "typc", repr[A _sequence_]) \
-#raw(lang: "typc", repr[A _longer_ *sequence*!])
-
-// Functions.
-#let f(x) = x
-#f \
-#rect \
-#(() => none)
-
-// Types.
-#int \
-#type("hi") \
-#type((a: 1))