update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user