gdiplus/tests: Add a test for GdipTransformMatrixPoints with number of points == 0.
This commit is contained in:
parent
49645b6ff9
commit
603ccca889
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue