Add the map's invariant too.
This commit is contained in:
parent
9001af214a
commit
1b2276c08f
1 changed files with 1 additions and 0 deletions
|
|
@ -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!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue