14 Feb
2020
14 Feb
'20
1:16 p.m.
@@ -222,6 +222,9 @@ static void test_dasharray(void) dashes[9] = -1.0; status = GdipSetPenDashArray(pen, &dashes[7], 5); expect(InvalidParameter, status); + dashes[9] = 1.0; + status = GdipSetPenDashArray(pen, &dashes[7], 5); + expect(InvalidParameter, status);
That implies that the way we're testing this is misleading. We should probably fill the end of the array with 1's instead of 0's.