aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/linearstructure.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-05-28 04:38:16 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-05-28 04:38:16 +0000
commitaebecae510dd29f5573d3f86dfed526e6d8be9a8 (patch)
treeb9bb9d2d15011409fe5f66e1fbb56f1998f5cc91 /test/linearstructure.cpp
parent559233c73e86474d67f5730f9b20e46ccea93b7f (diff)
* find the proper way of nesting the expression in Flagged:
finally that's more subtle than just using ei_nested, because when flagging with NestByValueBit we want to store the expression by value already, regardless of whether it already had the NestByValueBit set. * rename temporary() ----> nestByValue() * move the old Product.h to disabled/, replace by what was ProductWIP.h * tweak -O and -g flags for tests and examples * reorder the tests -- basic things go first * simplifications, e.g. in many methoeds return derived() and count on implicit casting to the actual return type. * strip some not-really-useful stuff from the heaviest tests
Diffstat (limited to 'test/linearstructure.cpp')
-rw-r--r--test/linearstructure.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp
index a7b058d69..8beb33925 100644
--- a/test/linearstructure.cpp
+++ b/test/linearstructure.cpp
@@ -62,11 +62,7 @@ template<typename MatrixType> void linearStructure(const MatrixType& m)
VERIFY_IS_APPROX(-m2+m1+m2, m1);
VERIFY_IS_APPROX(m1*s1, s1*m1);
VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2);
- VERIFY_IS_APPROX((s1+s2)*m1, m1*s1+m1*s2);
- VERIFY_IS_APPROX((m1-m2)*s1, s1*m1-s1*m2);
- VERIFY_IS_APPROX((s1-s2)*m1, m1*s1-m1*s2);
VERIFY_IS_APPROX((-m1+m2)*s1, -s1*m1+s1*m2);
- VERIFY_IS_APPROX((-s1+s2)*m1, -m1*s1+m1*s2);
m3 = m2; m3 += m1;
VERIFY_IS_APPROX(m3, m1+m2);
m3 = m2; m3 -= m1;