summaryrefslogtreecommitdiff
path: root/test/basic-fillrect.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/basic-fillrect.c')
-rw-r--r--test/basic-fillrect.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/basic-fillrect.c b/test/basic-fillrect.c
index 67d7067e..186604ce 100644
--- a/test/basic-fillrect.c
+++ b/test/basic-fillrect.c
@@ -246,13 +246,10 @@ int main(int argc, char **argv)
test_init(&test, argc, argv);
for (i = 0; i <= DEFAULT_ITERATIONS; i++) {
- int reps = 1 << i;
- int sets = 1 << (12 - i);
+ int reps = REPS(i);
+ int sets = SETS(i);
enum target t;
- if (sets < 2)
- sets = 2;
-
for (t = TARGET_FIRST; t <= TARGET_LAST; t++) {
pixel_tests(&test, reps, sets, t);
area_tests(&test, reps, sets, t);