System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (6)
302AssertExtensions.Throws<ArgumentException>(null, () => gpi.CopyData(ref points, ref types, 0, points.Length));
311Assert.Throws<ArgumentNullException>(() => gpi.CopyData(ref points, ref types, 0, 1));
324AssertExtensions.Throws<ArgumentException>(null, () => gpi.CopyData(ref resultPoints, ref resultTypes, startIndex, endIndex));
343AssertExtensions.Throws<ArgumentException>(null, () => gpi.CopyData(ref resultPoints, ref resultTypes, startIndex, endIndex));
357Assert.Equal(1, gpi.CopyData(ref actualPoints, ref actualTypes, 0, 0));
373Assert.Equal(3, gpi.CopyData(ref actualPoints, ref actualTypes, 0, 2));