summaryrefslogtreecommitdiff
path: root/tests/suite/math/underover.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/suite/math/underover.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/suite/math/underover.typ')
-rw-r--r--tests/suite/math/underover.typ21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/suite/math/underover.typ b/tests/suite/math/underover.typ
new file mode 100644
index 00000000..0768bf73
--- /dev/null
+++ b/tests/suite/math/underover.typ
@@ -0,0 +1,21 @@
+// Test under/over things.
+
+--- math-underover-brace ---
+// Test braces.
+$ x = underbrace(
+ 1 + 2 + ... + 5,
+ underbrace("numbers", x + y)
+) $
+
+--- math-underover-line-bracket ---
+// Test lines and brackets.
+$ x = overbracket(
+ overline(underline(x + y)),
+ 1 + 2 + ... + 5,
+) $
+
+--- math-underover-brackets ---
+// Test brackets.
+$ underbracket([1, 2/3], "relevant stuff")
+ arrow.l.r.double.long
+ overbracket([4/5,6], "irrelevant stuff") $