[1/5] gdiplus/tests: Add a test for GdipTransformMatrixPoints with number of points == 0.

Dmitry Timoshkov dmitry at baikal.ru
Mon Sep 23 21:22:55 CDT 2013


---
 dlls/gdiplus/tests/matrix.c | 3 +++
 1 file changed, 3 insertions(+)

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);
 
-- 
1.8.3.4




More information about the wine-patches mailing list