diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-12-10 22:44:35 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-12-10 22:45:45 +0100 |
| commit | 1cbd5f3051ba90b3f673bc2f6319192d05381719 (patch) | |
| tree | 182134e9f355062a00a145fab3a988847c4ed13b /tests/typ/example-coma.typ | |
| parent | fdc1b378a3eb3cf325592b801c43e2ec2478ddff (diff) | |
Refine test infrastructure ✅
- Tests diagnostics
- More and better separated image tests
Diffstat (limited to 'tests/typ/example-coma.typ')
| -rw-r--r-- | tests/typ/example-coma.typ | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/typ/example-coma.typ b/tests/typ/example-coma.typ new file mode 100644 index 00000000..f841a122 --- /dev/null +++ b/tests/typ/example-coma.typ @@ -0,0 +1,27 @@ +// Small integration test of syntax, page setup, box layout and alignment. + +[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. |
