Fix test.
--HG-- branch : feature
This commit is contained in:
parent
2c795281dd
commit
d7d9deb536
|
@ -67,7 +67,7 @@ void AbstractTest::Comparison(const QVector<QPointF> &ekv, const QVector<QPointF
|
||||||
{
|
{
|
||||||
const QPoint p1 = ekv.at(i).toPoint();
|
const QPoint p1 = ekv.at(i).toPoint();
|
||||||
const QPoint p2 = ekvOrig.at(i).toPoint();
|
const QPoint p2 = ekvOrig.at(i).toPoint();
|
||||||
const QString msg = QString("Index: %1. Got '%2;%3', Exprected '%4;%5'.")
|
const QString msg = QString("Index: %1. Got '%2;%3', Expected '%4;%5'.")
|
||||||
.arg(i).arg(p1.x()).arg(p1.y()).arg(p2.x()).arg(p2.y());
|
.arg(i).arg(p1.x()).arg(p1.y()).arg(p2.x()).arg(p2.y());
|
||||||
// Check each point. Don't use comparison float values
|
// Check each point. Don't use comparison float values
|
||||||
QVERIFY2(p1 == p2, qUtf8Printable(msg));
|
QVERIFY2(p1 == p2, qUtf8Printable(msg));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user