Tests are now clean so next step is to officially nuke the level manager.
This commit is contained in:
parent
564f9842a2
commit
5aca2fb56a
8 changed files with 47 additions and 72 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue