test-bsearch-insert-pos.c revision f0dd98bc0262bd1a84a48a7a922d90ea5220d32d
/* Copyright (c) 2007-2012 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, -1U,
1, 5, 9, 15, 16, 17, -1U,
-1U
};
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);
}
}