15 clear_none(
void **state) {
    16     assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, 
LOG_TRACE, 
"Test",
    17                                           "test", 0x0f0, 0x00f, NULL), 0x0f0);
    18     assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, 
LOG_TRACE, 
"Test",
    19                                           "test", 0x0f0, 0xf0f, NULL), 0x0f0);
    23 clear_some(
void **state) {
    24     assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, 
LOG_TRACE, 
"Test",
    25                                           "test", 0x0f0, 0x020, NULL), 0x0d0);
    26     assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, 
LOG_TRACE, 
"Test",
    27                                           "test", 0x0f0, 0x030, NULL), 0x0c0);
    31 clear_all(
void **state) {
    32     assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, 
LOG_TRACE, 
"Test",
    33                                           "test", 0x0f0, 0x0f0, NULL), 0x000);
    34     assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, 
LOG_TRACE, 
"Test",
    35                                           "test", 0x0f0, 0xfff, NULL), 0x000);
    39                 cmocka_unit_test(clear_none),
    40                 cmocka_unit_test(clear_some),
    41                 cmocka_unit_test(clear_all))
 
PCMK__UNIT_TEST(NULL, NULL, cmocka_unit_test(bad_input), cmocka_unit_test(not_found), cmocka_unit_test(find_attrB), cmocka_unit_test(find_attrA_matching))