diff options
| author | Nils Maier <maierman@web.de> | 2015-01-26 18:30:24 +0100 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2015-01-26 18:31:19 +0100 |
| commit | de37dbf13daafef815f6b45bb31b1c5a3da96f5f (patch) | |
| tree | acbd5062708b9286af8dfc6be75fc0fa2e580f96 | |
| parent | d5d21d20d7e8ff41e9a445544a2e4ccb7b3fd114 (diff) | |
Remove some left-over code from converting a test.
Checking once with CPPUNIT_ASSERT_MESSAGE should suffice.
| -rw-r--r-- | test/UtilTest.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/UtilTest.cc b/test/UtilTest.cc index 513aeefc..7b98a49f 100644 --- a/test/UtilTest.cc +++ b/test/UtilTest.cc @@ -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(), |
