diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-06 09:43:47 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-06 09:43:47 +0000 |
commit | c76714c29d29687f941a9112e80223c817185d53 (patch) | |
tree | 635e2681bbb6110b66f13519efc41b64a15cca47 /test/render-trapezoid-image.c | |
parent | c1e1e20fe7875262530a4d522e970985642c3f13 (diff) |
test: Add a basic line tester
Starting with exercising drawing of a single segment.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test/render-trapezoid-image.c')
-rw-r--r-- | test/render-trapezoid-image.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/render-trapezoid-image.c b/test/render-trapezoid-image.c index 4f6ddd78..c794cbb8 100644 --- a/test/render-trapezoid-image.c +++ b/test/render-trapezoid-image.c @@ -418,7 +418,8 @@ static void rect_tests(struct test *t, test_compare(t, real.draw, real.format, ref.draw, ref.format, - 0, 0, real.width, real.height); + 0, 0, real.width, real.height, + ""); } printf("passed [%d iterations x %d]\n", reps, sets); @@ -562,7 +563,8 @@ static void trap_tests(struct test *t, test_compare(t, real.draw, real.format, ref.draw, ref.format, - 0, 0, real.width, real.height); + 0, 0, real.width, real.height, + ""); } printf("passed [%d iterations x %d]\n", reps, sets); |