test-bsearch-insert-pos.c revision e59faf65ce864fe95dc00f5d52b8323cdbd0608a
/* Copyright (c) 2007-2010 Dovecot authors, see the included COPYING file */
#include "test-lib.h"
#include "bsearch-insert-pos.h"
{
}
void test_bsearch_insert_pos(void)
{
static const unsigned int input[] = {
1, 5, 9, 15, 16, -1,
1, 5, 9, 15, 16, 17, -1,
-1
};
static const unsigned int max_key = 18;
const unsigned int *cur;
bool success;
for (i = 0; cur[0] != -1U; i++) {
else if (idx == 0)
else {
}
if (!success)
break;
}
success);
}
}