This commit is contained in:
team3
2026-07-10 16:17:29 +02:00
parent 0a41166cca
commit 718c18523d
10 changed files with 297 additions and 16 deletions

View File

@@ -181,7 +181,9 @@ def test_det_auftraege_blockquote_und_artefakt():
lang = (f"<!-- atom: {a} | A | E -->\n" + "Fließtext. " * 45
+ "\n> wörtliches Rohzitat aus der Quelle\nEs gilt u 6= v."
+ "\n\nDas Blank-Symbol $[. ist speziell und liegt in $[ \\in \\Gamma$.")
auftraege = guide._det_auftraege(topic, {"id": b_id, "ord": 0}, lang)
kompakt = "- Definition mit x_i und Laufzeit 2^(n/2) als Klartext."
auftraege = guide._det_auftraege(topic, {"id": b_id, "ord": 0}, lang, kompakt)
text = " ".join(auftraege)
assert "Blockquote" in text and "6=" in text
assert "ungerade Anzahl $-Zeichen" in text
assert "Kompakt-Fassung" in text and "x_i" in text # Klartext-Formeln gefangen