diff --git a/tests/mazes.cpp b/tests/mazes.cpp index 0b7bfce..b8fd631 100644 --- a/tests/mazes.cpp +++ b/tests/mazes.cpp @@ -25,8 +25,8 @@ TEST_CASE("hunt-and-kill", "[mazes]") { } TEST_CASE("hunt-and-kill box", "[mazes]") { - for(int i = 5; i < 10000; i++) { - Map map((i / 20) + 20, (i / 20) + 20); + for(int i = 5; i < 100; i++) { + Map map((i / 2) + 20, (i / 2) + 20); maze::Builder maze(map); 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]") { - for(int i = 20; i < 10000; i++) { - Map map((i / 20) + 20, (i / 20) + 20); + for(int i = 5; i < 100; i++) { + Map map((i / 2) + 20, (i / 2) + 20); maze::Builder maze(map); maze.hunt_and_kill();