summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-11-27 09:59:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-11-27 09:59:46 +0100
commit8171d7f7cbc097c58a2097e14ce814d6a97d54bf (patch)
treec47d6e8b2dd7af82db0fa7c4cbfd19266986ec38 /test
parent5f3d184276f6b4e13642018681cf33d2bc5b7638 (diff)
a
Diffstat (limited to 'test')
-rw-r--r--test/wall-atlas.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/wall-atlas.cpp b/test/wall-atlas.cpp
index 3fa78fc0..2683c1dc 100644
--- a/test/wall-atlas.cpp
+++ b/test/wall-atlas.cpp
@@ -107,12 +107,12 @@ void test_read_groups(StringView filename)
void test_expected_size()
{
- fm_assert_equal(Vector2i{64, 192}, wall_atlas::expected_size(42, Group_::wall));
- fm_assert_equal(Vector2i{42, 192}, wall_atlas::expected_size(42, Group_::side));
- fm_assert_equal(Vector2i{32, 192}, wall_atlas::expected_size(42, Group_::corner_L));
- fm_assert_equal(Vector2i{32, 192}, wall_atlas::expected_size(42, Group_::corner_R));
+ fm_assert_equal(Vector2ui{64, 192}, wall_atlas::expected_size(42, Group_::wall));
+ fm_assert_equal(Vector2ui{42, 192}, wall_atlas::expected_size(42, Group_::side));
+ fm_assert_equal(Vector2ui{32, 192}, wall_atlas::expected_size(42, Group_::corner_L));
+ fm_assert_equal(Vector2ui{32, 192}, wall_atlas::expected_size(42, Group_::corner_R));
// swapped in atlas.json during reading and writing, rotated counter-clockwise in atlas image file
- fm_assert_equal(Vector2i{42, 192}, wall_atlas::expected_size(42, Group_::top));
+ fm_assert_equal(Vector2ui{42, 192}, wall_atlas::expected_size(42, Group_::top));
}
} // namespace