summaryrefslogtreecommitdiff
path: root/tests/typ/math/multiline.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/math/multiline.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/math/multiline.typ')
-rw-r--r--tests/typ/math/multiline.typ56
1 files changed, 0 insertions, 56 deletions
diff --git a/tests/typ/math/multiline.typ b/tests/typ/math/multiline.typ
deleted file mode 100644
index b1f43800..00000000
--- a/tests/typ/math/multiline.typ
+++ /dev/null
@@ -1,56 +0,0 @@
-// Test multiline math.
-
----
-// Test basic alignment.
-$ x &= x + y \
- &= x + 2z \
- &= sum x dot 2z $
-
----
-// Test text before first alignment point.
-$ x + 1 &= a^2 + b^2 \
- y &= a + b^2 \
- z &= alpha dot beta $
-
----
-// Test space between inner alignment points.
-$ a + b &= 2 + 3 &= 5 \
- b &= c &= 3 $
-
----
-// Test in case distinction.
-$ f := cases(
- 1 + 2 &"iff" &x,
- 3 &"if" &y,
-) $
-
----
-// Test mixing lines with and some without alignment points.
-$ "abc" &= c \
- &= d + 1 \
- = x $
-
----
-// Test multiline subscript.
-$ sum_(n in NN \ n <= 5) n = (5(5+1))/2 = 15 $
-
----
-// Test no trailing line break.
-$
-"abc" &= c
-$
-No trailing line break.
-
----
-// Test single trailing line break.
-$
-"abc" &= c \
-$
-One trailing line break.
-
----
-// Test multiple trailing line breaks.
-$
-"abc" &= c \ \ \
-$
-Multiple trailing line breaks.