Module: wine Branch: master Commit: 603ccca889663257ce017e4f67ee42ee7b32b008 URL: http://source.winehq.org/git/wine.git/?a=commit;h=603ccca889663257ce017e4f67...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Tue Sep 24 11:22:55 2013 +0900
gdiplus/tests: Add a test for GdipTransformMatrixPoints with number of points == 0.
---
dlls/gdiplus/tests/matrix.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/tests/matrix.c b/dlls/gdiplus/tests/matrix.c index cf8f158..379a8fa 100644 --- a/dlls/gdiplus/tests/matrix.c +++ b/dlls/gdiplus/tests/matrix.c @@ -77,6 +77,9 @@ static void test_transform(void)
GdipCreateMatrix2(1.0, -2.0, 30.0, 40.0, -500.0, 600.0, &matrix);
+ status = GdipTransformMatrixPoints(matrix, pts, 0); + expect(InvalidParameter, status); + status = GdipTransformMatrixPoints(matrix, pts, 10); expect(Ok, status);