21 #include <boost/test/unit_test.hpp>
26 BOOST_AUTO_TEST_SUITE(bitstream)
32 const boost::uint32_t length = 0x41;
33 const boost::uint32_t count = 5;
35 BOOST_CHECK_EQUAL(virtexFrameSet.size(), count);
36 VirtexFrameSet::const_iterator p = virtexFrameSet.begin();
37 VirtexFrameSet::const_iterator e = virtexFrameSet.end();
40 BOOST_CHECK_EQUAL(vfsp->getLength(), length);
50 const boost::uint32_t length = 0x41;
54 for(
int j = 0; j < count[i]; j++) {
55 blocks.
mBlock[i].push_back(
69 BOOST_AUTO_TEST_SUITE_END()
Frame< uint32_t > VirtexFrame
Virtex frame type.
Header for the Virtex5 class.
Header for the FrameSet class.
FrameSet< FRAME_TYPE > mBlock[Bitstream::eBlockTypeCount]
FrameSets for each of the eight block types.
boost::shared_ptr< VirtexFrame > FrameSharedPtr
Shared pointer encapsulation of a Frame.
boost::shared_ptr< VirtexFrame > VirtexFrameSharedPtr
Virtex frame type.
BOOST_AUTO_TEST_CASE(hexCharacterToDec)