summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/class.pngbin6460 -> 7599 bytes
-rw-r--r--tests/typ/math/class.typ12
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/ref/math/class.png b/tests/ref/math/class.png
index 27844ebe..a54dbd67 100644
--- a/tests/ref/math/class.png
+++ b/tests/ref/math/class.png
Binary files differ
diff --git a/tests/typ/math/class.typ b/tests/typ/math/class.typ
index 0c9fa32b..a5901b31 100644
--- a/tests/typ/math/class.typ
+++ b/tests/typ/math/class.typ
@@ -34,4 +34,14 @@ $ a pluseq 5 $
---
// Test exceptions.
-$ sqrt(3)\/2 quad d_0.d_1d_2 dots $ \ No newline at end of file
+$ sqrt(3)\/2 quad d_0.d_1d_2 dots $
+
+---
+// Test if the math class changes the limit configuration.
+$ class("normal", ->)_a $
+$class("relation", x)_a$
+$ class("large", x)_a $
+$class("large", ->)_a$
+
+$limits(class("normal", ->))_a$
+$ scripts(class("relation", x))_a $