Added some verbosity on failures in order to get an idea of what is goind wrong on GCC 4.3.

This commit is contained in:
Hauke Heibel 2010-06-11 12:13:29 +02:00
parent f48af91c7e
commit 00267e3a47

View File

@ -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);
}