Message ID | 20241215104508.191237-16-geert@linux-m68k.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Export feature and large ellipses support | expand |
diff --git a/tests/test013.c b/tests/test013.c index 96fc1cd216b81b0a..25904270901eaded 100644 --- a/tests/test013.c +++ b/tests/test013.c @@ -63,10 +63,10 @@ static enum test_res test013_func(void) while (1) for (i = 0; i < sizeof(sizes)/sizeof(*sizes); i++) { - size = sizes[i]; + size = sizes[i] + 1; if (size > fb_var.xres_virtual || size > fb_var.yres_virtual) goto out; - benchmark_circles(size/2); + benchmark_circles(sizes[i]/2); sizes[i] *= 10; }
A circle with radius R has an actual diameter of 2*R+1 instead of 2*R. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- tests/test013.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)