diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-02 14:13:56 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-02 14:13:56 +0100 |
| commit | 5f5c65927982447133b625edea3f5c9bab4f9e3d (patch) | |
| tree | aa5edb320e21466d16a1d15ad320d164f94738db /tests/typ/math/vec.typ | |
| parent | 21dd99926a24d7cc69bf6b032d1107c78a04a5cf (diff) | |
Math tests
Diffstat (limited to 'tests/typ/math/vec.typ')
| -rw-r--r-- | tests/typ/math/vec.typ | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/typ/math/vec.typ b/tests/typ/math/vec.typ new file mode 100644 index 00000000..198a1d15 --- /dev/null +++ b/tests/typ/math/vec.typ @@ -0,0 +1,14 @@ +// Test vectors. + +--- +// Test wide cell. +$ v = vec(1, 2+3, 4) $ + +--- +// Test alternative delimiter. +#set math.vec(delim: "[") +$ vec(1, 2) $ + +--- +// Error: 22-25 expected "(", "[", "{", "|", or "||" +#set math.vec(delim: "%") |
