19 uppercase_str_passes(
void **state)
25 mixed_case_str_fails(
void **state)
32 added_whitespace_fails(
void **state)
41 empty_str_fails(
void **state)
48 infinity_fails(
void **state)
53 int main(
int argc,
char **argv)
55 const struct CMUnitTest tests[] = {
56 cmocka_unit_test(uppercase_str_passes),
57 cmocka_unit_test(mixed_case_str_fails),
58 cmocka_unit_test(added_whitespace_fails),
59 cmocka_unit_test(empty_str_fails),
60 cmocka_unit_test(infinity_fails),
63 cmocka_set_message_output(CM_OUTPUT_TAP);
64 return cmocka_run_group_tests(tests, NULL, NULL);
int main(int argc, char **argv)
bool pcmk_str_is_minus_infinity(const char *s)