summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/pixelconv.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pixelconv.cxx b/tests/pixelconv.cxx
index 1d19b88e..2676daa9 100644
--- a/tests/pixelconv.cxx
+++ b/tests/pixelconv.cxx
@@ -180,6 +180,19 @@ int main(int argc, char **argv)
srcpf.parse("rgb232");
doTests(dstpf, srcpf);
+ /* rgb232 targets */
+
+ dstpf.parse("rgb232");
+
+ srcpf.parse("rgb888");
+ doTests(dstpf, srcpf);
+
+ srcpf.parse("rgb565");
+ doTests(dstpf, srcpf);
+
+ srcpf.parse("bgr232");
+ doTests(dstpf, srcpf);
+
/* rgb565 with endian conversion (both ways) */
dstpf = rfb::PixelFormat(32, 24, false, true, 255, 255, 255, 0, 8, 16);