summaryrefslogtreecommitdiff
path: root/tests/layouter
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-02-03 15:05:34 +0100
committerLaurenz <laurmaedje@gmail.com>2020-02-03 15:05:34 +0100
commitec60795575c29ee7fc2ea7507cfcc38958fe67bf (patch)
tree89c47763188e24d6c9ef7afd9148949716c6b277 /tests/layouter
parent3150fd56437ecf8b2a5902c18e3f9ace800b768c (diff)
Port tests 🚁
Diffstat (limited to 'tests/layouter')
-rw-r--r--tests/layouter/coma.typ26
-rw-r--r--tests/layouter/stack.typ71
2 files changed, 0 insertions, 97 deletions
diff --git a/tests/layouter/coma.typ b/tests/layouter/coma.typ
deleted file mode 100644
index 14f639b5..00000000
--- a/tests/layouter/coma.typ
+++ /dev/null
@@ -1,26 +0,0 @@
-[page.size: width=450pt, height=300pt]
-[page.margins: 1cm]
-
-[box][
- *Technische UniversitÀt Berlin* [n]
- *FakultÀt II, Institut for Mathematik* [n]
- Sekretariat MA [n]
- Dr. Max Mustermann [n]
- Ola Nordmann, John Doe
-]
-[align: right][*WiSe 2019/2020* [n] Woche 3]
-
-[v: 6mm]
-
-[align: center][
- *3. Ubungsblatt Computerorientierte Mathematik II* [v: 2mm]
- *Abgabe: 03.05.2019* (bis 10:10 Uhr in MA 001) [v: 2mm]
- *Alle Antworten sind zu beweisen.*
-]
-
-*1. Aufgabe* [align: right][(1 + 1 + 2 Punkte)]
-
-Ein _BinĂ€rbaum_ ist ein Wurzelbaum, in dem jeder Knoten ≀ 2 Kinder hat.
-Die Tiefe eines Knotens _v_ ist die LĂ€nge des eindeutigen Weges von der Wurzel
-zu _v_, und die Höhe von _v_ ist die LÀnge eines lÀngsten (absteigenden) Weges
-von _v_ zu einem Blatt. Die Höhe des Baumes ist die Höhe der Wurzel.
diff --git a/tests/layouter/stack.typ b/tests/layouter/stack.typ
deleted file mode 100644
index cbca41dc..00000000
--- a/tests/layouter/stack.typ
+++ /dev/null
@@ -1,71 +0,0 @@
-[page.size: w=5cm, h=5cm]
-[page.margins: 0cm]
-
-// Test 1
-[box: w=1, h=1, debug=false][
- [box][
- [align: center]
- [box: ps=3cm, ss=1cm]
- [direction: p=ttb, s=ltr]
- [box: ps=3cm, ss=1cm]
- [box: ps=1cm, ss=1cm]
- [box: ps=2cm, ss=1cm]
- [box: ps=1cm, ss=1cm]
- ]
-]
-
-// Test 2
-[box: w=1, h=1, debug=false][
- [align: s=top] Top
- [align: s=center] Center
- [align: s=bottom] Bottom
- [direction: p=ttb, s=ltr]
- [align: p=bottom, s=origin]
- [box: w=1cm, h=1cm]
-]
-
-// Test 3
-[box: w=1, h=1, debug=false][
- [align: center][
- Some-long-spaceless-word!
- [align: left] Some
- [align: right] word!
- ]
-]
-
-// Test 4
-[box: w=1, h=1, debug=false][
- [direction: p=ltr, s=ttb]
- [align: center]
- [align: s=origin] [box: ps=1cm, ss=1cm]
- [align: s=center] [box: ps=3cm, ss=1cm] [box: ps=4cm, ss=0.5cm]
- [align: s=end] [box: ps=2cm, ss=1cm]
-]
-
-// Test 5
-[box: w=1, h=1, debug=false][
- [direction: p=btt, s=ltr]
- [align: p=center, s=left]
- [box: h=2cm, w=1cm]
-
- [direction: p=rtl, s=btt]
- [align: center]
- [align: v=origin] ORIGIN
- [align: v=center] CENTER
- [align: v=end] END
-]
-
-// Test 6
-[box: w=1, h=1, debug=false][
- [box: w=4cm, h=1cm]
-
- [align: p=right, s=center] CENTER
-
- [direction: p=btt, s=rtl]
- [align: p=center, s=origin]
- [box: w=0.5cm, h=0.5cm]
- [box: w=0.5cm, h=1cm]
- [box: w=0.5cm, h=0.5cm]
-
- [align: p=origin, s=end] END
-]