summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorbluebear94 <uruwi@protonmail.com>2023-07-06 03:37:19 -0400
committerGitHub <noreply@github.com>2023-07-06 09:37:19 +0200
commita4756d8576199eaee7cc82ed2a15689d94617798 (patch)
tree4714641a592d29f74e341ec9214e49e20419aa40 /tests/typ
parent5bdad06d9202ab2af728778ab84acc385c439c64 (diff)
Add support for weak elements in math (#1633)
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/math/frac.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/math/frac.typ b/tests/typ/math/frac.typ
index dc120ec3..f3c31070 100644
--- a/tests/typ/math/frac.typ
+++ b/tests/typ/math/frac.typ
@@ -21,6 +21,11 @@ $ binom(circle, square) $
$ binom(x^2) $
---
+// Test dif.
+$ (dif y)/(dif x), dif/x, x/dif, dif/dif \
+ frac(dif y, dif x), frac(dif, x), frac(x, dif), frac(dif, dif) $
+
+---
// Test associativity.
$ 1/2/3 = (1/2)/3 = 1/(2/3) $