diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/math/frac.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/math/frac.typ')
| -rw-r--r-- | tests/typ/math/frac.typ | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/tests/typ/math/frac.typ b/tests/typ/math/frac.typ deleted file mode 100644 index fc7dd14b..00000000 --- a/tests/typ/math/frac.typ +++ /dev/null @@ -1,43 +0,0 @@ -// Test fractions. - ---- -// Test that denominator baseline matches in the common case. -$ x = 1/2 = a/(a h) = a/a = a/(1/2) $ - ---- -// Test parenthesis removal. -$ (|x| + |y|)/2 < [1+2]/3 $ - ---- -// Test large fraction. -$ x = (-b plus.minus sqrt(b^2 - 4a c))/(2a) $ - ---- -// Test binomial. -$ binom(circle, square) $ - ---- -// Test multinomial coefficients. -$ binom(n, k_1, k_2, k_3) $ - ---- -// Error: 3-13 missing argument: lower -$ 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) $ - ---- -// Test precedence. -$ a_1/b_2, 1/f(x), zeta(x)/2, "foo"[|x|]/2 \ - 1.2/3.7, 2.3^3.4 \ - 🏳️🌈[x]/2, f [x]/2, phi [x]/2, 🏳️🌈 [x]/2 \ - +[x]/2, 1(x)/2, 2[x]/2 \ - (a)b/2, b(a)[b]/2 \ - n!/2, 5!/2, n !/2, 1/n!, 1/5! $ |
