From 7fb1412ab802615ccee3422961d1e6cd74726fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 22 Jun 2022 12:28:44 +0200 Subject: [PATCH] Document what's all tested in this crazy macro. --- src/Magnum/Test/PixelFormatTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Test/PixelFormatTest.cpp b/src/Magnum/Test/PixelFormatTest.cpp index be5f55ccf..f8693b8fd 100644 --- a/src/Magnum/Test/PixelFormatTest.cpp +++ b/src/Magnum/Test/PixelFormatTest.cpp @@ -161,7 +161,10 @@ void PixelFormatTest::compressedMapping() { /* Each case verifies: - that the entries are ordered by number by comparing a function to expected result (so insertion here is done in proper place) - - that there was no gap (unhandled value inside the range) */ + - that there was no gap (unhandled value inside the range) + - that the block size table entry matches + - that the block data size is whole bytes and at most 16 bytes + - that the block size is at most 16x16x16 */ #ifdef CORRADE_TARGET_GCC #pragma GCC diagnostic push #pragma GCC diagnostic error "-Wswitch"