summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/loader.cpp4
-rw-r--r--test/main.cpp1
2 files changed, 5 insertions, 0 deletions
diff --git a/test/loader.cpp b/test/loader.cpp
index a066c973..fbffc407 100644
--- a/test/loader.cpp
+++ b/test/loader.cpp
@@ -1,5 +1,6 @@
#include "app.hpp"
#include "compat/assert.hpp"
+#include "compat/prelude.hpp"
#include "loader/loader.hpp"
#include "src/tile-atlas.hpp"
@@ -11,6 +12,9 @@ void test_app::test_loader()
(void)loader.tile_atlases("floor.json", pass_mode::pass);
fm_assert(loader.tile_atlas("texel")->pass_mode() == pass_mode::blocked);
fm_assert(loader.tile_atlas("metal1")->pass_mode() == pass_mode::pass);
+ loader.sceneries();
+ for (StringView name : loader.anim_atlas_list())
+ loader.anim_atlas(name);
}
} // namespace floormat
diff --git a/test/main.cpp b/test/main.cpp
index 2187ba21..4b176048 100644
--- a/test/main.cpp
+++ b/test/main.cpp
@@ -26,6 +26,7 @@ int test_app::exec()
test_entity();
test_loader();
test_bitmask();
+
return 0;
}