23 empty_input(
void **state)
29 bad_input(
void **state)
37 special_values(
void **state)
61 outside_limits(
void **state)
68 inside_limits(
void **state)
74 int main(
int argc,
char **argv)
76 const struct CMUnitTest tests[] = {
77 cmocka_unit_test(empty_input),
78 cmocka_unit_test(bad_input),
79 cmocka_unit_test(special_values),
80 cmocka_unit_test(outside_limits),
81 cmocka_unit_test(inside_limits),
84 cmocka_set_message_output(CM_OUTPUT_TAP);
85 return cmocka_run_group_tests(tests, NULL, NULL);
int char2score(const char *score)
Get the integer value of a score string.
#define CRM_SCORE_INFINITY
int main(int argc, char **argv)