MsgPackStream QString and const char * added
Qt types: QPoint, QSize, QRect implemented using MsgPackStream MsgPackStream QString tests added
This commit is contained in:
1 parent
b7fbf6413e
commit
f978fb0d78
11 files changed
+190
-141
No files matched your search
@@ -77,6 +77,8 @@ void QtTypesTest::test_qpoint()
|
||||
packed = MsgPack::pack(pt);
|
||||
QVERIFY(packed.size() == 9);
|
||||
pt2 = MsgPack::unpack(packed).toPoint();
|
||||
qDebug() << pt << pt2;
|
||||
qDebug() << packed.toHex() << packed.size();
|
||||
QVERIFY(pt == pt2);
|
||||
|
||||
pt = QPoint(std::numeric_limits<qint32>::max(), std::numeric_limits<qint32>::max());
|
||||
|
||||
Reference in new issue
Block a user