Fixed test. Wrong conversion to QPointF.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-05-19 13:16:33 +03:00
parent 0266b27b36
commit 60ad8d2fd1

View File

@ -326,8 +326,8 @@ void TST_VSpline::TestLengthByPoint_data()
QTest::newRow("Point on spline") << spl << p << testLength;
QTest::newRow("Wrong point") << spl << QPointF(-10000, -10000) << -1.0;
QTest::newRow("First point") << spl << p1 << 0.0;
QTest::newRow("Last point") << spl << p4 << length;
QTest::newRow("First point") << spl << p1.toQPointF() << 0.0;
QTest::newRow("Last point") << spl << p4.toQPointF() << length;
}
//---------------------------------------------------------------------------------------------------------------------