summaryrefslogtreecommitdiff
path: root/tests/typ/layout/repeat.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerLaurenz <laurmaedje@gmail.com>2024-05-17 14:27:59 +0200
commite039552f9d7bb49da8dafe7a83b87a08202eb30f (patch)
tree264b461722f758d85217da804550620cd74b4f9e /tests/typ/layout/repeat.typ
parent8e025c9cdfbb0a5dae536aafc27b5e19eeac1810 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/repeat.typ')
-rw-r--r--tests/typ/layout/repeat.typ44
1 files changed, 0 insertions, 44 deletions
diff --git a/tests/typ/layout/repeat.typ b/tests/typ/layout/repeat.typ
deleted file mode 100644
index 173f9d57..00000000
--- a/tests/typ/layout/repeat.typ
+++ /dev/null
@@ -1,44 +0,0 @@
-// Test the `repeat` function.
-
----
-// Test multiple repeats.
-#let sections = (
- ("Introduction", 1),
- ("Approach", 1),
- ("Evaluation", 3),
- ("Discussion", 15),
- ("Related Work", 16),
- ("Conclusion", 253),
-)
-
-#for section in sections [
- #section.at(0) #box(width: 1fr, repeat[.]) #section.at(1) \
-]
-
----
-// Test dots with RTL.
-#set text(lang: "ar")
-مقدمة #box(width: 1fr, repeat[.]) 15
-
----
-// Test empty repeat.
-A #box(width: 1fr, repeat[]) B
-
----
-// Test unboxed repeat.
-#repeat(rect(width: 2em, height: 1em))
-
----
-// Test single repeat in both directions.
-A#box(width: 1fr, repeat(rect(width: 6em, height: 0.7em)))B
-
-#set align(center)
-A#box(width: 1fr, repeat(rect(width: 6em, height: 0.7em)))B
-
-#set text(dir: rtl)
-ريجين#box(width: 1fr, repeat(rect(width: 4em, height: 0.7em)))سون
-
----
-// Error: 2:2-2:13 repeat with no size restrictions
-#set page(width: auto)
-#repeat(".")