aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/basicstuff.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-11-28 15:34:40 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-11-28 15:34:40 +0000
commit2fdd067d9e353fe26f2526789691978678bc3d0a (patch)
tree5b8c810ce6a45a0c97ebc9565ec18d51cd447b9c /test/basicstuff.cpp
parent39f1776bde27b159814148a54483b6b2bdf51aa8 (diff)
add more unit-tests (covering transpose, conjugate, adjoint, dot product...)
Diffstat (limited to 'test/basicstuff.cpp')
-rw-r--r--test/basicstuff.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/basicstuff.cpp b/test/basicstuff.cpp
index 08e75db06..d929b0883 100644
--- a/test/basicstuff.cpp
+++ b/test/basicstuff.cpp
@@ -111,6 +111,9 @@ template<typename MatrixType> void basicStuff(const MatrixType& m)
QVERIFY((s1 * (square * m1)).isApprox((s1 * square) * m1));
QVERIFY((s1 * (square * m1)).isApprox(square * (m1 * s1)));
+ // continue testing Product.h: lazyProduct
+ QVERIFY(square.lazyProduct(m1).isApprox(square * m1));
+
// test Product.h together with Identity.h. This does test Identity.h.
QVERIFY(m1.isApprox(identity * m1));
QVERIFY(v1.isApprox(identity * v1));