14 g_assert_cmphex(pcmk__set_flags_as(__func__, __LINE__,
LOG_TRACE,
"Test",
15 "test", 0x0f0, 0x00f, NULL), ==, 0x0ff);
16 g_assert_cmphex(pcmk__set_flags_as(__func__, __LINE__,
LOG_TRACE,
"Test",
17 "test", 0x0f0, 0xf0f, NULL), ==, 0xfff);
18 g_assert_cmphex(pcmk__set_flags_as(__func__, __LINE__,
LOG_TRACE,
"Test",
19 "test", 0x0f0, 0xfff, NULL), ==, 0xfff);
23 main(
int argc,
char **argv)
25 g_test_init(&argc, &argv, NULL);
27 g_test_add_func(
"/common/flags/set/set_flags", set_flags);
int main(int argc, char **argv)