summaryrefslogtreecommitdiff
path: root/tests/typ/base
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-26 16:59:20 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-26 17:13:31 +0100
commit0579fd4409375aaa9fd8e87a06fd59097b5fcd97 (patch)
tree0ccf1d6218806b11d83998d568ae1fb0570c67b7 /tests/typ/base
parent9db6e533cd8a1d925a7daad92e1b99e6f98ac773 (diff)
Reorganize library base
Diffstat (limited to 'tests/typ/base')
-rw-r--r--tests/typ/base/color.typ2
-rw-r--r--tests/typ/base/numbering.typ13
-rw-r--r--tests/typ/base/string.typ21
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)