diff --git a/src/Math/Test/MatrixTest.cpp b/src/Math/Test/MatrixTest.cpp index 7f2552089..a88245f86 100644 --- a/src/Math/Test/MatrixTest.cpp +++ b/src/Math/Test/MatrixTest.cpp @@ -110,7 +110,7 @@ void MatrixTest::data() { m[1][2] = 1.5f; - QVERIFY(m[2][1] == 1.0f); + QCOMPARE(m[2][1], 1.0f); QVERIFY(m[3] == vector); Matrix4 expected( diff --git a/src/Math/Test/VectorTest.cpp b/src/Math/Test/VectorTest.cpp index 23fecc55f..3bebbd863 100644 --- a/src/Math/Test/VectorTest.cpp +++ b/src/Math/Test/VectorTest.cpp @@ -69,7 +69,7 @@ void VectorTest::copy() { } void VectorTest::dot() { - QVERIFY(Vector4::dot({1.0f, 0.5f, 0.75f, 1.5f}, {2.0f, 4.0f, 1.0f, 7.0f}) == 15.25f); + QCOMPARE(Vector4::dot({1.0f, 0.5f, 0.75f, 1.5f}, {2.0f, 4.0f, 1.0f, 7.0f}), 15.25f); } void VectorTest::multiplyDivide() {