diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-11 14:29:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-11 14:45:29 +0100 |
commit | d74df1b763979d281f76f3f30543aee8d8a638b7 (patch) | |
tree | 08939a34160b261c37644595aa8702dd0689d74f /test | |
parent | 7867213a01fcabb1f05b1836c2ca59dc3bb2132f (diff) |
rename floor -> ground
Diffstat (limited to 'test')
-rw-r--r-- | test/bitmask.cpp | 2 | ||||
-rw-r--r-- | test/loader.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/bitmask.cpp b/test/bitmask.cpp index ef8f3b1c..0fae6a23 100644 --- a/test/bitmask.cpp +++ b/test/bitmask.cpp @@ -23,7 +23,7 @@ static_assert(data_nbytes == 128); void bitmask_test() { - auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s); + auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s, false); auto bitmask = anim_atlas::make_bitmask(img); fm_assert(img.pixelSize() == 4 && (size_t)img.size().product() >= data_nbytes); #ifdef DO_GENERATE diff --git a/test/loader.cpp b/test/loader.cpp index 88fa2b32..f400ecb3 100644 --- a/test/loader.cpp +++ b/test/loader.cpp @@ -8,7 +8,7 @@ namespace floormat { void test_app::test_loader() { - (void)loader.ground_atlases("floor.json"); + (void)loader.ground_atlases("ground.json"); fm_assert(loader.ground_atlas("texel")->pass_mode() == pass_mode::blocked); fm_assert(loader.ground_atlas("metal1")->pass_mode() == pass_mode::pass); loader.sceneries(); |