/* Some invalid array values. */
- dashes[9] = 0.0; status = GdipSetPenDashArray(pen, &dashes[7], 5); expect(InvalidParameter, status); dashes[9] = -1.0;
Please test the result of GdipSetPenDashArray with those arguments before changing dashes[9]. I'd like to see that we start out with valid arguments, so we can be sure we didn't make the same mistake again.