Add the map's invariant too.

This commit is contained in:
Zed A. Shaw 2026-03-13 11:11:28 -04:00
parent 9001af214a
commit 1b2276c08f

View file

@ -174,6 +174,7 @@ TEST_CASE("hunt-and-kill scripting", "[mazes]") {
if(valid) {
REQUIRE(maze.validate() == true);
REQUIRE(map.INVARIANT() == true);
}
if(DUMP) maze.dump(valid ? "SCRIPTED" : "SCRIPTED FAIL!");