From 60ad8d2fd12995a489ac337751aac0f86acc904f Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 19 May 2016 13:16:33 +0300 Subject: [PATCH] Fixed test. Wrong conversion to QPointF. --HG-- branch : feature --- src/test/ValentinaTest/tst_vspline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/ValentinaTest/tst_vspline.cpp b/src/test/ValentinaTest/tst_vspline.cpp index dd78a6754..3b4098dd1 100644 --- a/src/test/ValentinaTest/tst_vspline.cpp +++ b/src/test/ValentinaTest/tst_vspline.cpp @@ -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; } //---------------------------------------------------------------------------------------------------------------------