From 839a3ed1c249e21a7783be3a54498650c56b8362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 28 Feb 2019 12:38:29 +0100 Subject: [PATCH] TgaImporter: test non-constant alpha. --- .../TgaImporter/Test/TgaImporterTest.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp b/src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp index 70a9a78f6..099e09b88 100644 --- a/src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp +++ b/src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp @@ -151,14 +151,14 @@ void TgaImporterTest::colorBits32() { Containers::Pointer importer = _manager.instantiate("TgaImporter"); const char data[] = { 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 3, 0, 32, 0, - 1, 2, 3, 1, 2, 3, 4, 1, - 3, 4, 5, 1, 4, 5, 6, 1, - 5, 6, 7, 1, 6, 7, 8, 1 + 1, 2, 3, 4, 2, 3, 4, 5, + 3, 4, 5, 6, 4, 5, 6, 7, + 5, 6, 7, 8, 6, 7, 8, 9 }; const char pixels[] = { - 3, 2, 1, 1, 4, 3, 2, 1, - 5, 4, 3, 1, 6, 5, 4, 1, - 7, 6, 5, 1, 8, 7, 6, 1 + 3, 2, 1, 4, 4, 3, 2, 5, + 5, 4, 3, 6, 6, 5, 4, 7, + 7, 6, 5, 8, 8, 7, 6, 9 }; CORRADE_VERIFY(importer->openData(data));