diff options
Diffstat (limited to 'tests/typ/base')
| -rw-r--r-- | tests/typ/base/color.typ | 2 | ||||
| -rw-r--r-- | tests/typ/base/numbering.typ | 13 | ||||
| -rw-r--r-- | tests/typ/base/string.typ | 21 |
3 files changed, 14 insertions, 22 deletions
diff --git a/tests/typ/base/color.typ b/tests/typ/base/color.typ index 96d76063..aecd86b8 100644 --- a/tests/typ/base/color.typ +++ b/tests/typ/base/color.typ @@ -1,4 +1,4 @@ -// Test color creation functions. +// Test color creation functions and modification methods. // Ref: false --- diff --git a/tests/typ/base/numbering.typ b/tests/typ/base/numbering.typ new file mode 100644 index 00000000..200850bc --- /dev/null +++ b/tests/typ/base/numbering.typ @@ -0,0 +1,13 @@ +// Test integrated numbering patterns. + +--- +#for i in range(9) { + numbering(i, "* and ") + numbering(i, "I") + [ for #i] + parbreak() +} + +--- +// Error: 12-14 must be at least zero +#numbering(-1, "1") diff --git a/tests/typ/base/string.typ b/tests/typ/base/string.typ index 3104a3ea..e724f563 100644 --- a/tests/typ/base/string.typ +++ b/tests/typ/base/string.typ @@ -136,26 +136,5 @@ #test(upper("Ελλάδα"), "ΕΛΛΆΔΑ") --- -// Test integrated lower, upper and symbols. -// Ref: true - -#upper("Abc 8") -#upper[def] - -#lower("SCREAMING MUST BE SILENCED in " + roman(1672) + " years") - -#for i in range(9) { - symbol(i) - [ and ] - roman(i) - [ for #i] - parbreak() -} - ---- // Error: 8-9 expected string or content, found integer #upper(1) - ---- -// Error: 9-11 must be at least zero -#symbol(-1) |
