aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/rand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/rand.cpp')
-rw-r--r--test/rand.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rand.cpp b/test/rand.cpp
index 6790acf15..eeec34191 100644
--- a/test/rand.cpp
+++ b/test/rand.cpp
@@ -29,6 +29,9 @@ template<typename Scalar> void check_all_in_range(Scalar x, Scalar y)
{
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() );
}