diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-11 06:07:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-11 06:07:14 +0100 |
commit | a8e63822eee34fdf409e09cdd591ffd987f6239b (patch) | |
tree | 248f28cc1e9c2a5f3852045352d2dd126255a0b7 /test | |
parent | cd006bb9a4db0b0410ccabce56b32b4d49ecdff2 (diff) |
a
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"; } |