Commit d085da3b authored by Jan Möbius's avatar Jan Möbius
Browse files

Output message, if out of range

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@725 fdac6126-5c0c-442c-9429-916003d36597
parent 9875b209
......@@ -74,8 +74,11 @@ TEST_F(RandomNumberGenerator, RandomNumberGeneratorMaxTestLowres) {
if ( randomNumber < 0.0 )
lowerZero++;
if ( randomNumber > 1.0 )
if ( randomNumber > 1.0 ) {
above1++;
std::cerr << "randomNumber " << randomNumber << std::endl;
std::cerr << "resolution " << rng.resolution() << std::endl;
}
average += randomNumber;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment