enfoce min word length 3

This commit is contained in:
2026-02-01 20:53:12 +01:00
parent a1b6e37354
commit 9348b5ecd5
6 changed files with 214 additions and 9 deletions

View File

@ -37,7 +37,7 @@ def test_extract_words_and_positions():
assert dog.start_x == 0 and dog.start_y == 0
assert dog.orientation.name == "HORIZONTAL"
# Hint should come from dictionary
assert dog.hist in ("bark",) or dog.hist.startswith("No hint available") is False
assert dog.hint in ("bark",) or dog.hint.startswith("No hint available") is False
cat = words_by_text["cat"]
assert cat.start_x == 4 and cat.start_y == 1