test: walls r1 review — tests and tools

Ref #52
This commit is contained in:
2026-11-20 08:59:24 +01:00
parent e1a5b297e4
commit 38941da003
14 changed files with 329 additions and 69 deletions
+4
View File
@@ -36,6 +36,10 @@ for (const subject of ['A', 'B']) {
`the world needs a marked window the subject sees: ${JSON.stringify(cov)}`)
assert.ok(cov.markedWindowsUnseen >= 1,
`the world needs a marked window the subject never sees (MARKER_EARLY control): ${JSON.stringify(cov)}`)
assert.ok(cov.markedWindowsOccluded >= 1,
`the world needs a marked window behind the far wall (TESTING 5.8): ${JSON.stringify(cov)}`)
assert.equal(cov.markedWindowsOccludedSeen, 0,
`a wall behind a sight blocker yields no marker: ${JSON.stringify(cov)}`)
}
const check = runChecker(transcript, subject)
fs.writeFileSync(path.join(results, `leak-${subject}.log`), check.output)