1
0
Fork 0

added comment

This commit is contained in:
Jan Steemann 2013-01-21 13:46:49 +01:00
parent 9e5fb04043
commit 59c3dac151
1 changed files with 8 additions and 0 deletions

View File

@ -74,6 +74,14 @@ BOOST_AUTO_TEST_CASE (tst_df_marker) {
BOOST_CHECK_EQUAL(24, s);
BOOST_CHECK_EQUAL(true, s % 8 == 0);
BOOST_CHECK_EQUAL(0, offsetof(struct TRI_df_marker_s, _size));
BOOST_CHECK_EQUAL(4, offsetof(struct TRI_df_marker_s, _crc));
BOOST_CHECK_EQUAL(8, offsetof(struct TRI_df_marker_s, _type));
// TODO: fix alignment in struct TRI_df_marker_s. it is currently not portable!
// BOOST_CHECK_EQUAL(16, offsetof(struct TRI_df_marker_s, _tick));
}
////////////////////////////////////////////////////////////////////////////////