summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/math-eval.pngbin0 -> 2610 bytes
-rw-r--r--tests/typ/bugs/math-eval.typ5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/bugs/math-eval.png b/tests/ref/bugs/math-eval.png
new file mode 100644
index 00000000..cdfd4cce
--- /dev/null
+++ b/tests/ref/bugs/math-eval.png
Binary files differ
diff --git a/tests/typ/bugs/math-eval.typ b/tests/typ/bugs/math-eval.typ
new file mode 100644
index 00000000..31450b8d
--- /dev/null
+++ b/tests/typ/bugs/math-eval.typ
@@ -0,0 +1,5 @@
+// Evaluating a math expr should renders the same as an equation
+
+#eval(mode: "math", "f(a) = cases(a + b\, space space x >= 3,a + b\, space space x = 5)")
+
+$f(a) = cases(a + b\, space space x >= 3,a + b\, space space x = 5)$