summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-13 12:34:11 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-13 12:34:11 +0200
commit22697f0c0c858bc013ec5c7d8b3ea50f000246dd (patch)
treefd38567da2aea1cc08c68e73fcbd3a841ccb99a7 /tests/typ
parent1736bfc194396d026bee1a560ce41d12b92a6d5b (diff)
Simple regression testing with file-based comparisons ✅
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/coma.typ25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/typ/coma.typ b/tests/typ/coma.typ
new file mode 100644
index 00000000..839335b7
--- /dev/null
+++ b/tests/typ/coma.typ
@@ -0,0 +1,25 @@
+[page: width=450pt, height=300pt, margins=1cm]
+
+[box][
+ *Technische Universität Berlin* \
+ *Fakultät II, Institut for Mathematik* \
+ Sekretariat MA \
+ Dr. Max Mustermann \
+ Ola Nordmann, John Doe
+]
+[align: right >> box][*WiSe 2019/2020* \ Woche 3]
+
+[v: 6mm]
+
+[align: center][
+ #### 3. Übungsblatt 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.