Commit 4190f376 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix crash

parent 4931647f
......@@ -37,9 +37,9 @@ void RiceEncodingDecoderTest::shouldDecodeRiceIndices_data()
QTest::addColumn<int>("riceParameter");
QTest::addColumn<int>("numberEntries");
QTest::addColumn<QByteArray>("encodingData");
QTest::addColumn<QList<quint32> >("result");
QTest::newRow("empty") << QByteArray() << 0 << 0 << QByteArray() << QList<quint32>();
QList<quint32> result;
QTest::addColumn<QVector<quint32> >("result");
QTest::newRow("empty") << QByteArray() << 0 << 0 << QByteArray() << QVector<quint32>();
QVector<quint32> result;
result << 3;
QTest::newRow("zero value") << QByteArray("3") << 2 << 0 << QByteArray() << result;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment