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

This commit is contained in:
Dmitry Timoshkov 2013-09-24 11:22:55 +09:00 committed by Alexandre Julliard
parent 49645b6ff9
commit 603ccca889
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ static void test_transform(void)
GdipCreateMatrix2(1.0, -2.0, 30.0, 40.0, -500.0, 600.0, &matrix); 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); status = GdipTransformMatrixPoints(matrix, pts, 10);
expect(Ok, status); expect(Ok, status);