forked from boostorg/endian
Add more sizeof tests to packed_buffer_test
This commit is contained in:
@ -26,7 +26,11 @@ struct X
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
BOOST_TEST_EQ( sizeof( X ), 12 );
|
BOOST_TEST_EQ( sizeof(big_uint16_buf_t), 2 );
|
||||||
|
BOOST_TEST_EQ( sizeof(double), 8 );
|
||||||
|
BOOST_TEST_EQ( sizeof(little_uint16_buf_t), 2 );
|
||||||
|
BOOST_TEST_EQ( sizeof(X), 12 );
|
||||||
|
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user