Tests are now clean so next step is to officially nuke the level manager.

This commit is contained in:
Zed A. Shaw 2025-08-20 00:48:20 -04:00
parent 564f9842a2
commit 5aca2fb56a
8 changed files with 47 additions and 72 deletions

View file

@ -4,15 +4,16 @@
#include <fstream>
#include "map.hpp"
#include "levelmanager.hpp"
#include "game_level.hpp"
#include "lights.hpp"
#include "point.hpp"
using namespace lighting;
TEST_CASE("lighting a map works", "[lighting]") {
LevelManager levels;
GameLevel level = levels.current();
auto &map = *level.map;
Game::init();
auto& level = Game::current();
auto& map = *level.map;
Point light1, light2;