summaryrefslogtreecommitdiff
path: root/tests/typ/code/repr.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-29 13:37:25 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-29 14:18:13 +0100
commit0efe669278a5e1c3f2985eba2f3360e91159c54a (patch)
tree502712857c48f0decb5e698257c0a96d358a436e /tests/typ/code/repr.typ
parent836692e73cff0356e409a9ba5b4887b86809d4ca (diff)
Reorganize library and tests
Diffstat (limited to 'tests/typ/code/repr.typ')
-rw-r--r--tests/typ/code/repr.typ48
1 files changed, 0 insertions, 48 deletions
diff --git a/tests/typ/code/repr.typ b/tests/typ/code/repr.typ
deleted file mode 100644
index bdea9c82..00000000
--- a/tests/typ/code/repr.typ
+++ /dev/null
@@ -1,48 +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} \
-{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(repr[*{"H" + "i"} there*])
-
----
-// Functions are invisible.
-Nothing
-#let f(x) = x
-{f}
-{rect}
-{() => none}