diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/wall-atlas2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/wall-atlas2.cpp b/test/wall-atlas2.cpp index c06bc496..b95b1761 100644 --- a/test/wall-atlas2.cpp +++ b/test/wall-atlas2.cpp @@ -1,5 +1,6 @@ #include "app.hpp" #include "compat/assert.hpp" +#include "src/tile-defs.hpp" #include "src/wall-atlas.hpp" #include "loader/loader.hpp" #include "loader/wall-info.hpp" @@ -22,6 +23,7 @@ void test_app::test_wall_atlas2() fm_assert(&a.calc_direction(N) == a.direction(N)); fm_assert(a.frames(N, Wall::Group_::wall).size() >= 3); fm_assert(a.group(N, Wall::Group_::top)->is_defined); + fm_assert(a.frames(N, Wall::Group_::wall)[0].size == Vector2ui(Vector2i{iTILE_SIZE.x(), iTILE_SIZE.z()})); Debug{} << "test_wall2: end"; } |