mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-05 12:45:11 +08:00
Add debug output for random unit test
This commit is contained in:
parent
7d1391d049
commit
2c9e4fa417
@ -29,6 +29,9 @@ template<typename Scalar> void check_all_in_range(Scalar x, Scalar y)
|
|||||||
{
|
{
|
||||||
mask( check_in_range(x,y)-x )++;
|
mask( check_in_range(x,y)-x )++;
|
||||||
}
|
}
|
||||||
|
for(Index i=0; i<mask.size(); ++i)
|
||||||
|
if(mask(i)==0)
|
||||||
|
std::cout << "WARNING: value " << x+i << " not reached." << std::endl;
|
||||||
VERIFY( (mask>0).all() );
|
VERIFY( (mask>0).all() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user