Remove some left-over code from converting a test.

Checking once with CPPUNIT_ASSERT_MESSAGE should suffice.
pull/336/head
Nils Maier 2015-01-26 18:30:24 +01:00
parent d5d21d20d7
commit de37dbf13d
1 changed files with 0 additions and 4 deletions

View File

@ -1978,10 +1978,6 @@ void UtilTest::testGenerateRandomData()
}
}
CPPUNIT_ASSERT_MESSAGE("Should see all kinds of bytes", counts.size() == 256);
if (counts.size() != 256) {
throw std::domain_error(
"Would have expected to see at one of each possible byte value!");
}
double sum = accumulate(
counts.begin(),
counts.end(),