Fix BitReader test
This commit is contained in:
parent
12588c6928
commit
a43e9b2baf
|
@ -216,7 +216,12 @@ void IoTests::testBitReader()
|
|||
CPPUNIT_ASSERT(reader.readSignedExpGolombCodedBits<sbyte>() == 4);
|
||||
CPPUNIT_ASSERT(reader.readBit() == 0);
|
||||
CPPUNIT_ASSERT(reader.readBit() == 0);
|
||||
CPPUNIT_ASSERT_THROW(reader.readBit(), std::ios_base::failure);
|
||||
try {
|
||||
reader.readBit();
|
||||
} catch(...) {
|
||||
catchIoFailure();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in New Issue