Fix test.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-01-25 13:51:44 +02:00
parent 2c795281dd
commit d7d9deb536

View File

@ -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));