/* Copyright (c) 2009-2018 Dovecot authors, see the included COPYING file */
#include "test-lib.h"
#include "llist.h"
struct dllist {
};
static void test_dllist(void)
{
test_begin("dllist");
/* remove from middle */
/* remove from head */
/* remove from tail */
/* removal of an entry not in the list shouldn't cause the list to break */
/* remove last two */
test_end();
}
static void test_dllist2(void)
{
test_begin("dllist");
/* prepend to empty */
/* remove last */
/* append to empty */
/* prepend */
/* append */
/* remove from middle */
/* remove from head */
/* remove from tail */
/* removal of an entry not in the list shouldn't cause the list to break */
/* remove last two */
test_end();
}
void test_llist(void)
{
test_dllist();
test_dllist2();
}