19 score1_minus_inf(
void **state)
29 score2_minus_inf(
void **state)
38 score1_pos_inf(
void **state)
47 score2_pos_inf(
void **state)
55 result_infinite(
void **state)
64 result_finite(
void **state)
72 int main(
int argc,
char **argv)
74 const struct CMUnitTest tests[] = {
75 cmocka_unit_test(score1_minus_inf),
76 cmocka_unit_test(score2_minus_inf),
77 cmocka_unit_test(score1_pos_inf),
78 cmocka_unit_test(score2_pos_inf),
79 cmocka_unit_test(result_infinite),
80 cmocka_unit_test(result_finite),
83 cmocka_set_message_output(CM_OUTPUT_TAP);
84 return cmocka_run_group_tests(tests, NULL, NULL);
#define CRM_SCORE_INFINITY
int pcmk__add_scores(int score1, int score2)
int main(int argc, char **argv)