summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/basic.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/math/basic.typ b/tests/typ/math/basic.typ
index cad01d10..33246261 100644
--- a/tests/typ/math/basic.typ
+++ b/tests/typ/math/basic.typ
@@ -8,5 +8,13 @@ We will show that:
$[ a^2 + b^2 = c^2 ]$
---
+Prove by induction:
+$[ \sum_{k=0}^n k = \frac{n(n+1)}{2} ]$
+
+---
+// Error: 1-10 expected '}' found EOF
+$\sqrt{x$
+
+---
// Error: 2:1 expected closing bracket and dollar sign
$[a