Code

avltree_test: Degenerate (unbalanced) test-tree even more.
authorSebastian Harl <sh@tokkee.org>
Tue, 8 Jul 2014 20:14:32 +0000 (22:14 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 8 Jul 2014 20:14:56 +0000 (22:14 +0200)
t/unit/utils/avltree_test.c

index 3ca8054b07b18b791af27657807684761d220749..9b48fdcb2ea44e8f60c53ee5c1474348e9d3d566 100644 (file)
@@ -47,19 +47,23 @@ teardown(void)
        tree = NULL;
 } /* teardown */
 
-/* 'a' - 'k' */
+/* 'a' thru 'o' */
 static sdb_object_t test_data[] = {
-       SSTRING_OBJ("d"),
+       SSTRING_OBJ("h"),
+       SSTRING_OBJ("j"),
+       SSTRING_OBJ("i"),
        SSTRING_OBJ("f"),
        SSTRING_OBJ("e"),
-       SSTRING_OBJ("b"),
-       SSTRING_OBJ("a"),
-       SSTRING_OBJ("c"),
        SSTRING_OBJ("g"),
-       SSTRING_OBJ("h"),
-       SSTRING_OBJ("i"),
-       SSTRING_OBJ("j"),
        SSTRING_OBJ("k"),
+       SSTRING_OBJ("l"),
+       SSTRING_OBJ("m"),
+       SSTRING_OBJ("n"),
+       SSTRING_OBJ("o"),
+       SSTRING_OBJ("d"),
+       SSTRING_OBJ("c"),
+       SSTRING_OBJ("b"),
+       SSTRING_OBJ("a"),
 };
 
 static void