diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-11 04:47:44 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-11 04:47:44 +0100 |
| commit | 7c6f5e8885952e7f755f8b3536c51c37a021d412 (patch) | |
| tree | 82e103a9f1987383a2199631ab2412a80933806b /test | |
| parent | 818b7ba351e2464cad980dddb0a3f4852da7106d (diff) | |
a
Diffstat (limited to 'test')
| -rw-r--r-- | test/wall-atlas2.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/wall-atlas2.cpp b/test/wall-atlas2.cpp index 23f5a1b8..4fcf57d1 100644 --- a/test/wall-atlas2.cpp +++ b/test/wall-atlas2.cpp @@ -8,11 +8,19 @@ namespace floormat { void test_app::test_wall_atlas2() { + using enum Wall::Direction_; + 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); + fm_assert(a.raw_frame_array().size() >= 3); + fm_assert(!a.direction(W)); + fm_assert(a.direction(N)); + fm_assert(&a.calc_direction(W) == a.direction(N)); + fm_assert(&a.calc_direction(N) == a.direction(N)); + fm_assert(a.frames(N, Wall::Group_::wall).size() >= 3); Debug{} << "test_wall2: end"; } |
