summaryrefslogtreecommitdiff
path: root/test/test-assetFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-assetFactory.cpp')
-rw-r--r--test/test-assetFactory.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test-assetFactory.cpp b/test/test-assetFactory.cpp
index ad62a93..d71fa9b 100644
--- a/test/test-assetFactory.cpp
+++ b/test/test-assetFactory.cpp
@@ -129,14 +129,15 @@ BOOST_AUTO_TEST_CASE(parseX11RGB)
BOOST_AUTO_TEST_CASE(texturePacker)
{
- TexturePacker tp {{
+ std::vector<TexturePacker::Image> input {
{10, 10},
{10, 10},
{10, 10},
{100, 10},
{10, 200},
{5, 5},
- }};
+ };
+ TexturePacker tp {input};
BOOST_CHECK_EQUAL(TexturePacker::Size(128, 256), tp.minSize());
const auto result = tp.pack();
}