This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
BOOST_CHECK_EQUAL (fg.seek (1077, SEEK_END), total_length - 1077);
BOOST_CHECK_EQUAL (fg.read (test, 256), 256);
BOOST_CHECK_EQUAL (memcmp (data + total_length - 1077, test, 256), 0);
BOOST_CHECK_EQUAL (fg.seek (1077, SEEK_END), total_length - 1077);
BOOST_CHECK_EQUAL (fg.read (test, 256), 256);
BOOST_CHECK_EQUAL (memcmp (data + total_length - 1077, test, 256), 0);