Commit 0e993ae
committed
test: cover brief() empty-palace and dedup behavior
Adds two tests to back the brief() retrieval mode:
- test_brief_empty_palace: verifies brief() surfaces L2's "no drawers"
message instead of crashing when the palace has no data
- test_brief_dedupes_near_identical_drawers: verifies the >70% word
overlap dedup actually collapses duplicates while preserving distinct
content1 parent 77a4e02 commit 0e993ae
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
200 | 224 | | |
201 | 225 | | |
202 | 226 | | |
| |||
0 commit comments