diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-20 07:15:10 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-20 07:15:10 (GMT) |
commit | 6b8b654f370f26d32e900585d37dbe10054777ef (patch) | |
tree | 8eefe66dddeaf6ea567fdf5a5db88925804af3c8 /tests/auto/qquaternion/tst_qquaternion.cpp | |
parent | 0cf913d4b73ae1bf7182e6eeaab518fe5d7a2fe8 (diff) | |
parent | 24f8cf971b330214f79757facc82d72981b7789e (diff) | |
download | Qt-6b8b654f370f26d32e900585d37dbe10054777ef.zip Qt-6b8b654f370f26d32e900585d37dbe10054777ef.tar.gz Qt-6b8b654f370f26d32e900585d37dbe10054777ef.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into qtscript-jsc-backend
Diffstat (limited to 'tests/auto/qquaternion/tst_qquaternion.cpp')
-rw-r--r-- | tests/auto/qquaternion/tst_qquaternion.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qquaternion/tst_qquaternion.cpp b/tests/auto/qquaternion/tst_qquaternion.cpp index ba546f1..1fb2d6b 100644 --- a/tests/auto/qquaternion/tst_qquaternion.cpp +++ b/tests/auto/qquaternion/tst_qquaternion.cpp @@ -466,6 +466,15 @@ void tst_QQuaternion::multiply_data() QTest::newRow("complex") << (qreal)1.0f << (qreal)2.0f << (qreal)3.0f << (qreal)7.0f << (qreal)4.0f << (qreal)5.0f << (qreal)6.0f << (qreal)8.0f; + + for (qreal w = -1.0f; w <= 1.0f; w += 0.5f) + for (qreal x = -1.0f; x <= 1.0f; x += 0.5f) + for (qreal y = -1.0f; y <= 1.0f; y += 0.5f) + for (qreal z = -1.0f; z <= 1.0f; z += 0.5f) { + QTest::newRow("exhaustive") + << x << y << z << w + << z << w << y << x; + } } void tst_QQuaternion::multiply() { |