I can make a map with one room 'randomly' generated and calculate paths.

This commit is contained in:
Zed A. Shaw 2024-09-27 00:10:41 -04:00
parent 8b67a25732
commit 6cb3366912
5 changed files with 58 additions and 14 deletions

View file

@ -34,3 +34,10 @@ TEST_CASE("dijkstra algo test", "[map]") {
REQUIRE(paths == expected);
}
}
TEST_CASE("bsp algo test", "[map]") {
Map map(20, 20);
map.generate();
map.dump();
}