test/ZBinaryReaderTest.cpp
TYPED_TEST(BinaryReaderTestFixture, AlignmentZeroPadPastEnd) {
    this->br->seek(1);
    ASSERT_THROW(this->br->template alignZeroPad<sizeof(testData) + 1>(),
                 std::runtime_error); // Will throw before checking padding.
}
// Throw if aligning past end of read source
Throw if aligning past end of read source
Throw if aligning past end of read source
TYPED_TEST(BinaryReaderTestFixture, AlignmentZeroPadPastEnd) {
    this->br->seek(1);
    ASSERT_THROW(this->br->template alignZeroPad<sizeof(testData) + 1>(),
                 std::runtime_error); 
}
TYPED_TEST ( BinaryReaderTestFixture , AlignmentZeroPadPastEnd ) { this -> br -> seek ( 1 ) ; ASSERT_THROW ( this -> br -> template alignZeroPad < sizeof ( testData ) + 1 > ( ) , std :: runtime_error ) ; }
Throw if aligning past end of read source
Throw if aligning past end of read source
// Will throw before checking padding.