Test coverage back and save system should work again but have to confirm it in-game.
This commit is contained in:
parent
6b4ebf7629
commit
2576b16869
9 changed files with 43 additions and 31 deletions
|
@ -3,6 +3,7 @@
|
|||
#include <nlohmann/json.hpp>
|
||||
#include <fstream>
|
||||
#include "map.hpp"
|
||||
#include "worldbuilder.hpp"
|
||||
#include "lights.hpp"
|
||||
#include "point.hpp"
|
||||
|
||||
|
@ -10,7 +11,8 @@ using namespace lighting;
|
|||
|
||||
TEST_CASE("lighting a map works", "[lighting]") {
|
||||
Map map(20,20);
|
||||
map.generate();
|
||||
WorldBuilder builder(map);
|
||||
builder.generate();
|
||||
|
||||
Point light1 = map.place_entity(0);
|
||||
Point light2 = map.place_entity(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue