Gcc Warning.

This commit is contained in:
Roman Telezhynskyi 2023-11-15 09:16:06 +02:00
parent bf4942e316
commit e2829cd043

View File

@ -441,7 +441,7 @@ void TST_VArc::TestFlip()
const QString errorMsg = u"The name doesn't contain the prefix '%1'."_s.arg(prefix); const QString errorMsg = u"The name doesn't contain the prefix '%1'."_s.arg(prefix);
QVERIFY2(res.name().endsWith(prefix), qUtf8Printable(errorMsg)); QVERIFY2(res.name().endsWith(prefix), qUtf8Printable(errorMsg));
QVERIFY2(res.IsFlipped() == radius > 0, qUtf8Printable("The arc is not flipped")); QVERIFY2(res.IsFlipped() == (radius > 0), qUtf8Printable("The arc is not flipped"));
QCOMPARE(originArc.GetLength() * -1, res.GetLength()); QCOMPARE(originArc.GetLength() * -1, res.GetLength());
QCOMPARE(originArc.GetRadius(), res.GetRadius()); QCOMPARE(originArc.GetRadius(), res.GetRadius());