diff options
Diffstat (limited to 'test/wall-atlas2.cpp')
-rw-r--r-- | test/wall-atlas2.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/wall-atlas2.cpp b/test/wall-atlas2.cpp index 778b5b0b..23f5a1b8 100644 --- a/test/wall-atlas2.cpp +++ b/test/wall-atlas2.cpp @@ -1,7 +1,19 @@ #include "app.hpp" +#include "compat/assert.hpp" +#include "src/wall-atlas.hpp" +#include "loader/loader.hpp" +#include "loader/wall-info.hpp" namespace floormat { -//void test_app::test_wall_atlas2() {} +void test_app::test_wall_atlas2() +{ + Debug{} << "test_wall2: start"; + static constexpr auto name = "concrete1"_s; + auto& a = *loader.wall_atlas(name, false); + fm_assert(a.name() == name); + fm_assert(a.info().depth == 20); + Debug{} << "test_wall2: end"; +} } // namespace floormat |