Tone down the map gen tests.

This commit is contained in:
Zed A. Shaw 2026-03-08 03:31:18 -04:00
parent fb41c153c1
commit 87a1193a4a

View file

@ -25,8 +25,8 @@ TEST_CASE("hunt-and-kill", "[mazes]") {
} }
TEST_CASE("hunt-and-kill box", "[mazes]") { TEST_CASE("hunt-and-kill box", "[mazes]") {
for(int i = 5; i < 10000; i++) { for(int i = 5; i < 100; i++) {
Map map((i / 20) + 20, (i / 20) + 20); Map map((i / 2) + 20, (i / 2) + 20);
maze::Builder maze(map); maze::Builder maze(map);
maze.hunt_and_kill(); maze.hunt_and_kill();
@ -81,8 +81,8 @@ TEST_CASE("hunt-and-kill no-dead-ends", "[mazes]") {
} }
TEST_CASE("hunt-and-kill too much", "[mazes]") { TEST_CASE("hunt-and-kill too much", "[mazes]") {
for(int i = 20; i < 10000; i++) { for(int i = 5; i < 100; i++) {
Map map((i / 20) + 20, (i / 20) + 20); Map map((i / 2) + 20, (i / 2) + 20);
maze::Builder maze(map); maze::Builder maze(map);
maze.hunt_and_kill(); maze.hunt_and_kill();