diff --git a/src/test/ValentinaTest/tst_vabstractdetail.cpp b/src/test/ValentinaTest/tst_vabstractdetail.cpp index ccb824db8..b2103cb61 100644 --- a/src/test/ValentinaTest/tst_vabstractdetail.cpp +++ b/src/test/ValentinaTest/tst_vabstractdetail.cpp @@ -116,7 +116,7 @@ void TST_VAbstractDetail::Case5() const const QVector points = InputPointsCase5(); // Input points. const qreal result = VAbstractDetail::SumTrapezoids(points); - QVERIFY(result == 0); + QVERIFY(qFuzzyIsNull(result)); } //---------------------------------------------------------------------------------------------------------------------