45 { {36762, 8345 }, {36761, 995926 }, 13 },
46 { {36761, 995926 }, {36762, 8345 }, -13 },
47 { {36761, 995926 }, {0, 0}, 36761995 },
48 { {0, 0}, {36761, 995926 }, -36761995 },
52 for(i = 0; i <
sizeof(
tests)/
sizeof(tests[0]); i++) {
54 if(result != tests[i].result) {
55 printf(
"%d.%06u to %d.%06u got %d, but expected %d\n",
62 fail(
"unexpected result!");
static CURLcode unit_setup(void)
static void unit_stop(void)
static const struct testcase tests[]
time_t curlx_tvdiff(struct curltime newer, struct curltime older)