16 g_assert_cmpint(pcmk_any_flags_set(0x000, 0x000), ==,
false);
17 g_assert_cmpint(pcmk_any_flags_set(0x000, 0x001), ==,
false);
18 g_assert_cmpint(pcmk_any_flags_set(0x00f, 0x001), ==,
true);
19 g_assert_cmpint(pcmk_any_flags_set(0x00f, 0x010), ==,
false);
20 g_assert_cmpint(pcmk_any_flags_set(0x00f, 0x011), ==,
true);
21 g_assert_cmpint(pcmk_any_flags_set(0x000, 0x000), ==,
false);
22 g_assert_cmpint(pcmk_any_flags_set(0x00f, 0x000), ==,
false);
26 main(
int argc,
char **argv)
28 g_test_init(&argc, &argv, NULL);
30 g_test_add_func(
"/common/flags/any_set/any_set", any_set);
int main(int argc, char **argv)