4 #define BOOST_TEST_DYN_LINK
5 #define BOOST_TEST_MODULE AccessModeFlagsTest
10 #include <boost/test/unit_test.hpp>
16 BOOST_AUTO_TEST_SUITE(AccessModeFlagsTestSuite)
20 BOOST_CHECK(flags.serialize() ==
"raw,wait_for_new_data");
23 BOOST_CHECK(flags.serialize().empty());
28 BOOST_CHECK(flags.has(ctk::AccessMode::raw) ==
true);
29 BOOST_CHECK(flags.has(ctk::AccessMode::wait_for_new_data) ==
true);
34 BOOST_AUTO_TEST_SUITE_END()