From a8e63822eee34fdf409e09cdd591ffd987f6239b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Dec 2023 06:07:14 +0100 Subject: a --- test/wall-atlas2.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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"; } -- cgit v1.2.3