Explorar o código

Remove some left-over code from converting a test.

Checking once with CPPUNIT_ASSERT_MESSAGE should suffice.
Nils Maier %!s(int64=10) %!d(string=hai) anos
pai
achega
de37dbf13d
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      test/UtilTest.cc

+ 0 - 4
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(),