18 lines
649 B
Python
18 lines
649 B
Python
from pathlib import Path
|
|
|
|
|
|
def test_poorly_structured_authoring_fixture_exercises_the_restructuring_boundary():
|
|
"""Removing any rough source shape would weaken the hermetic acceptance probe."""
|
|
fixture = (
|
|
Path(__file__).parent / "fixtures" / "evidence_authoring" / "poorly_structured.md"
|
|
)
|
|
|
|
text = fixture.read_text(encoding="utf-8")
|
|
|
|
assert "La fascia pediatrica" in text # prose
|
|
assert "- paziente" in text # rough list
|
|
assert "D = dimesso" in text # enum
|
|
assert "https://" in text # URL
|
|
assert "non chiarisce" in text # ambiguity
|
|
assert "CASE WHEN" in text # PostgreSQL expression candidate
|