From d6946801d70e8755e3dd4b2d95ffd8ca84cdb8a1 Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Fri, 20 Jun 2003 08:19:42 +0000 Subject: [PATCH] one test has been meanwhile adjusted --- lib/redblack-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.2