ElyMark: the probe also requires each task box drawn (R2.14)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-09 09:01:13 -04:00
1 parent 8a7e45d901
commit b3fc6c9c82
3 files changed
+7 -3

No files matched your search

+2 -2
View File
@@ -63,8 +63,8 @@ for step in ("visual", "themed", "preview"):
("cells", 2), ("notes", 1), ("font", True), ("editors", 1)]:
want(step, key, value)
# Every task box: text-sized, centred on its line.
for width, height, off in seen[step]["boxes"]:
if abs(width - 1) > 0.01 or abs(height - 1) > 0.01 or abs(off) > 1:
for width, height, off, drawn in seen[step]["boxes"]:
if not drawn or abs(width - 1) > 0.01 or abs(height - 1) > 0.01 or abs(off) > 1:
sys.exit(f"FAIL: {step} task boxes are {seen[step]['boxes']}")
blocks = seen[step]["blocks"]
if [block["language"] for block in blocks] != languages: