summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/basic.pngbin3639 -> 5949 bytes
-rw-r--r--tests/ref/text/par.pngbin30060 -> 30191 bytes
-rw-r--r--tests/typ/math/basic.typ8
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/math/basic.png b/tests/ref/math/basic.png
index 381e92c4..42723bc5 100644
--- a/tests/ref/math/basic.png
+++ b/tests/ref/math/basic.png
Binary files differ
diff --git a/tests/ref/text/par.png b/tests/ref/text/par.png
index 6ee4aa9c..18908448 100644
--- a/tests/ref/text/par.png
+++ b/tests/ref/text/par.png
Binary files differ
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