aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/stdlist.cpp
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-11 12:13:29 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-11 12:13:29 +0200
commit00267e3a471a10e842f771de474f0dca6407a693 (patch)
treeb3721ec0dc4a401fc975d0f73caf02e80ff75b41 /test/stdlist.cpp
parentf48af91c7e9f75a9fb70367a56211387e9cdaeec (diff)
Added some verbosity on failures in order to get an idea of what is goind wrong on GCC 4.3.
Diffstat (limited to 'test/stdlist.cpp')
-rw-r--r--test/stdlist.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/stdlist.cpp b/test/stdlist.cpp
index 451c7752d..c612e634a 100644
--- a/test/stdlist.cpp
+++ b/test/stdlist.cpp
@@ -48,8 +48,13 @@ void check_stdlist_matrix(const MatrixType& m)
++wi;
}
- v.resize(21);
+ v.resize(21);
v.back() = x;
+ if (!test_ei_isApprox(v.back(),x))
+ {
+ std::cout << x << std::endl;
+ std::cout << v.back() << std::endl;
+ }
VERIFY_IS_APPROX(v.back(), x);
v.resize(22,y);
VERIFY_IS_APPROX(v.back(), y);
@@ -112,6 +117,11 @@ void check_stdlist_quaternion(const QuaternionType&)
v.resize(22,y);
VERIFY_IS_APPROX(v.back(), y);
v.push_back(x);
+ if (!test_ei_isApprox(v.back(),x))
+ {
+ std::cout << x << std::endl;
+ std::cout << v.back() << std::endl;
+ }
VERIFY_IS_APPROX(v.back(), x);
}