summaryrefslogtreecommitdiffhomepage
path: root/test/wall-atlas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/wall-atlas.cpp')
-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