Now all of the old LevelManager code is gone. Next phase is to rename the Game:: to something better then test the shit out of it.

This commit is contained in:
Zed A. Shaw 2025-08-20 13:31:02 -04:00
parent a83ee77eea
commit c46927ea10
7 changed files with 91 additions and 126 deletions

View file

@ -16,8 +16,6 @@ json load_test_data(const string &fname) {
}
TEST_CASE("camera control", "[map]") {
textures::init();
components::init();
Game::init();
auto& level = Game::current();
@ -36,11 +34,8 @@ TEST_CASE("camera control", "[map]") {
}
TEST_CASE("map placement test", "[map-fail]") {
textures::init();
components::init();
Game::init();
for(int i = 0; i < 5; i++) {
auto& level = Game::create_level();
@ -84,8 +79,6 @@ TEST_CASE("dijkstra algo test", "[map]") {
}
TEST_CASE("map image test", "[map]") {
components::init();
textures::init();
Game::init();
auto& level = Game::current();