Add pixel conversion correctness test
diff --git a/common/rfb/PixelFormat.h b/common/rfb/PixelFormat.h
index 8dfa5f1..8d67f8a 100644
--- a/common/rfb/PixelFormat.h
+++ b/common/rfb/PixelFormat.h
@@ -141,6 +141,12 @@
     class Init;
     friend class Init;
     static Init _init;
+
+    /* Only for testing this class */
+    friend void makePixel(const rfb::PixelFormat &, rdr::U8 *);
+    friend bool verifyPixel(const rfb::PixelFormat &,
+                            const rfb::PixelFormat &,
+                            const rdr::U8 *);
   };
 }