X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-avltree_list.c;h=af608cef8ee558c2993464f950cba4797ed15419;hb=73a7366830e5475e99f01e2723615b0283886e8f;hp=26d33962fe1b267c0085422b1eefcb3b874cb47c;hpb=e21bb106b335e1ac02c02ef4e6e9ad29db744667;p=gnulib.git diff --git a/tests/test-avltree_list.c b/tests/test-avltree_list.c index 26d33962f..af608cef8 100644 --- a/tests/test-avltree_list.c +++ b/tests/test-avltree_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software; you can redistribute it and/or modify @@ -20,10 +20,12 @@ # include #endif +#include "gl_avltree_list.h" + #include #include "gl_array_list.h" -#include "gl_avltree_list.h" +#include "progname.h" extern void gl_avltree_list_check_invariants (gl_list_t list); @@ -79,15 +81,15 @@ main (int argc, char *argv[]) contents[i] = RANDOM_OBJECT (); /* Create list1. */ - list1 = gl_list_create (GL_ARRAY_LIST, NULL, NULL, true, + list1 = gl_list_create (GL_ARRAY_LIST, NULL, NULL, NULL, true, initial_size, contents); /* Create list2. */ - list2 = gl_list_create_empty (GL_AVLTREE_LIST, NULL, NULL, true); + list2 = gl_list_create_empty (GL_AVLTREE_LIST, NULL, NULL, NULL, true); for (i = 0; i < initial_size; i++) gl_list_add_last (list2, contents[i]); /* Create list3. */ - list3 = gl_list_create (GL_AVLTREE_LIST, NULL, NULL, true, + list3 = gl_list_create (GL_AVLTREE_LIST, NULL, NULL, NULL, true, initial_size, contents); check_all (list1, list2, list3);