From: Robert Spalek Date: Fri, 20 Jun 2003 08:19:42 +0000 (+0000) Subject: one test has been meanwhile adjusted X-Git-Tag: holmes-import~1237 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=d6946801d70e8755e3dd4b2d95ffd8ca84cdb8a1;p=libucw.git one test has been meanwhile adjusted --- diff --git a/lib/redblack-test.c b/lib/redblack-test.c index cb722f33..967120a7 100644 --- a/lib/redblack-test.c +++ b/lib/redblack-test.c @@ -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); }