mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add debug output for random unit test
This commit is contained in:
@@ -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() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user