3 #define ARR_SIZE(arr) (sizeof(arr)/sizeof(arr[0]))
5 typedef unsigned long long int uint64_t;
6 typedef long long int int64_t;
8 /* ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- */
9 struct harness_int64_pred
{
10 const char *fmt_string
;
16 int64_t *select_expected
;
19 struct harness_uint64_pred
{
20 const char *fmt_string
;
26 uint64_t *select_expected
;
31 int (*predfunc
) (int64_t, int64_t);
32 int64_t (*selfunc
) (int64_t, int64_t, int64_t, int64_t);
33 struct harness_int64_pred
*tests
;
37 struct uint64_pred_s
{
39 int (*predfunc
) (uint64_t, uint64_t);
40 uint64_t (*selfunc
) (uint64_t, uint64_t, uint64_t, uint64_t);
41 struct harness_uint64_pred
*tests
;