summaryrefslogtreecommitdiffhomepage
path: root/test/wall-atlas2.cpp
blob: 23f5a1b84487a17540e74bc1e6c09db32b160b98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()
{
    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