I can make a map with one room 'randomly' generated and calculate paths.
This commit is contained in:
parent
8b67a25732
commit
6cb3366912
5 changed files with 58 additions and 14 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue