19 outside_limits(
void **state)
33 inside_limits(
void **state)
38 assert_string_equal(a,
"1024");
42 assert_string_equal(a,
"0");
46 assert_string_equal(a,
"-1024");
50 int main(
int argc,
char **argv)
52 const struct CMUnitTest tests[] = {
53 cmocka_unit_test(outside_limits),
54 cmocka_unit_test(inside_limits),
57 cmocka_set_message_output(CM_OUTPUT_TAP);
58 return cmocka_run_group_tests(tests, NULL, NULL);
int main(int argc, char **argv)
#define CRM_SCORE_INFINITY
#define CRM_MINUS_INFINITY_S
char * score2char(int score)
Return the string equivalent of an integer score.