19 empty_input_list(
void **state) {
27 empty_string(
void **state) {
35 in_list(
void **state) {
42 not_in_list(
void **state) {
48 int main(
int argc,
char **argv)
50 const struct CMUnitTest tests[] = {
51 cmocka_unit_test(empty_input_list),
52 cmocka_unit_test(empty_string),
53 cmocka_unit_test(in_list),
54 cmocka_unit_test(not_in_list),
57 cmocka_set_message_output(CM_OUTPUT_TAP);
58 return cmocka_run_group_tests(tests, NULL, NULL);
int main(int argc, char **argv)
bool pcmk__strcase_any_of(const char *s,...) G_GNUC_NULL_TERMINATED
bool pcmk__str_any_of(const char *s,...) G_GNUC_NULL_TERMINATED