summaryrefslogtreecommitdiff
path: root/tests/typ/math/delimited.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/delimited.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/math/delimited.typ')
-rw-r--r--tests/typ/math/delimited.typ59
1 files changed, 0 insertions, 59 deletions
diff --git a/tests/typ/math/delimited.typ b/tests/typ/math/delimited.typ
deleted file mode 100644
index 8500aec2..00000000
--- a/tests/typ/math/delimited.typ
+++ /dev/null
@@ -1,59 +0,0 @@
-// Test delimiter matching and scaling.
-
----
-// Test automatic matching.
-#set page(width:122pt)
-$ (a) + {b/2} + abs(a)/2 + (b) $
-$f(x/2) < zeta(c^2 + abs(a + b/2))$
-
----
-// Test unmatched.
-$[1,2[ = [1,2) != zeta\(x/2\) $
-
----
-// Test manual matching.
-$ [|a/b|] != lr(|]a/b|]) != [a/b) $
-$ lr(| ]1,2\[ + 1/2|) $
-
----
-// Test fence confusion.
-$ |x + |y| + z/a| \
- lr(|x + |y| + z/a|) $
-
----
-// Test that symbols aren't matched automatically.
-$ bracket.l a/b bracket.r
- = lr(bracket.l a/b bracket.r) $
-
----
-// Test half LRs.
-$ lr(a/b\]) = a = lr(\{a/b) $
-
----
-// Test manual scaling.
-$ lr(]sum_(x=1)^n x], size: #70%)
- < lr((1, 2), size: #200%) $
-
----
-// Test predefined delimiter pairings.
-$floor(x/2), ceil(x/2), abs(x), norm(x)$
-
----
-// Test colored delimiters
-$ lr(
- text("(", fill: #green) a/b
- text(")", fill: #blue)
- ) $
-
----
-// Test middle functions
-$ { x mid(|) sum_(i=1)^oo phi_i (x) < 1 } \
- { integral |x| dif x
- mid(bar.v.double)
- floor(hat(A) mid(|) { x mid(|) y } mid(|) A) } $
-
----
-// Test ignoring weak spacing immediately after the opening
-// and immediately before the closing.
-
-$ [#h(1em, weak: true)A(dif x, f(x) dif x)sum#h(1em, weak: true)] $