]> mj.ucw.cz Git - libucw.git/commitdiff
one test has been meanwhile adjusted
authorRobert Spalek <robert@ucw.cz>
Fri, 20 Jun 2003 08:19:42 +0000 (08:19 +0000)
committerRobert Spalek <robert@ucw.cz>
Fri, 20 Jun 2003 08:19:42 +0000 (08:19 +0000)
lib/redblack-test.c

index cb722f33254bf80fb79462b9fb282ca7bf39d468..967120a781ef92f42b9af223d1cd86a36046262f 100644 (file)
@@ -175,7 +175,8 @@ main(int argc, char **argv)
        }
        for (i=0; i<100; i++)
        {
-               int res UNUSED = my_delete(&t, i);
+               int a = i/10, b = i%10, j = a*10 + (b + a) % 10;
+               int res UNUSED = my_delete(&t, j);
                ASSERT(res);
                my_dump(dump_fb, &t);
        }