System\Drawing\Drawing2D\GraphicsPathTests.cs (118)
69Assert.Equal(6, gp.PointCount);
71Assert.Equal(6, gpf.PointCount);
74Assert.Equal(6, gp.PointCount);
76Assert.Equal(6, gpf.PointCount);
234Assert.Equal(3, gpi.PointCount);
238Assert.Equal(4, gpi.PointCount);
243Assert.Equal(3, gpf.PointCount);
247Assert.Equal(4, gpf.PointCount);
269Assert.Equal(1, gpi.PointCount);
273Assert.Equal(1, gpf.PointCount);
292Assert.Equal(2, gpi.PointCount);
296Assert.Equal(3, gpi.PointCount);
300Assert.Equal(4, gpi.PointCount);
304Assert.Equal(4, gpf.PointCount);
308Assert.Equal(7, gpf.PointCount);
383Assert.Equal(4, gp.PointCount);
387Assert.Equal(7, gp.PointCount);
391Assert.Equal(4, gpf.PointCount);
395Assert.Equal(7, gpf.PointCount);
487Assert.Equal(4, gpi.PointCount);
489Assert.Equal(7, gpi.PointCount);
492Assert.Equal(4, gpf.PointCount);
494Assert.Equal(7, gpf.PointCount);
506Assert.Equal(4, gpi.PointCount);
509Assert.Equal(4, gpf.PointCount);
547Assert.Equal(pointsCount[i], gp.PointCount);
640Assert.Equal(10, gpi.PointCount);
642Assert.Equal(20, gpi.PointCount);
645Assert.Equal(10, gpf.PointCount);
647Assert.Equal(20, gpf.PointCount);
719Assert.Equal(4, gpi.PointCount);
725Assert.Equal(8, gpi.PointCount);
729Assert.Equal(4, gpf.PointCount);
736Assert.Equal(8, gpf.PointCount);
903Assert.Equal(3, gpi.PointCount);
907Assert.Equal(6, gpi.PointCount);
911Assert.Equal(9, gpi.PointCount);
915Assert.Equal(12, gpi.PointCount);
919Assert.Equal(3, gpf.PointCount);
923Assert.Equal(6, gpf.PointCount);
927Assert.Equal(9, gpf.PointCount);
931Assert.Equal(12, gpf.PointCount);
996AssertExtensions.GreaterThan(gpi.PointCount, 0);
999AssertExtensions.GreaterThan(gpf.PointCount, 0);
1008AssertExtensions.GreaterThan(gpi.PointCount, 0);
1011AssertExtensions.GreaterThan(gpf.PointCount, 0);
1020AssertExtensions.GreaterThan(gpi.PointCount, 0);
1024AssertExtensions.GreaterThan(gpi.PointCount, gpiLengthOld);
1027AssertExtensions.GreaterThan(gpf.PointCount, 0);
1031AssertExtensions.GreaterThan(gpf.PointCount, pgfLengthOld);
1041AssertExtensions.GreaterThan(gp1.PointCount, 0);
1044Assert.Equal(gp1.PointCount, gp2.PointCount);
1047Assert.NotEqual(gp1.PointCount, gp3.PointCount);
1056Assert.Equal(0, gpi.PointCount);
1059Assert.Equal(0, gpf.PointCount);
1151Assert.Equal(gp.PointCount, clone.PointCount);
1160Assert.Equal(gp.PointCount, clone.PointCount);
1169Assert.Equal(gp.PointCount, clone.PointCount);
1296Assert.Equal(0, gp.PointCount);
1298Assert.Equal(0, gp.PointCount);
1308Assert.Equal(0, gp.PointCount);
1410Assert.Equal(3, types[gp.PointCount - 3]);
1411Assert.Equal(1, types[gp.PointCount - 1]);
1425Assert.Equal(3, types[gp.PointCount - 3]);
1426Assert.Equal(1, types[gp.PointCount - 1]);
1446Assert.Equal(3, types[gp.PointCount - 3]);
1447Assert.Equal(1, types[gp.PointCount - 1]);
1461Assert.Equal(131, types[gp.PointCount - 3]);
1462Assert.Equal(0, types[gp.PointCount - 2]);
1463Assert.Equal(1, types[gp.PointCount - 1]);
1477Assert.Equal(3, types[path.PointCount - 3]);
1478Assert.Equal(1, types[path.PointCount - 1]);
1492Assert.Equal(131, types[gp.PointCount - 3]);
1493Assert.Equal(0, types[gp.PointCount - 2]);
1494Assert.Equal(1, types[gp.PointCount - 1]);
1508Assert.Equal(1, types[path.PointCount - 3]);
1509Assert.Equal(1, types[path.PointCount - 1]);
1523Assert.Equal(1, types[gp.PointCount - 3]);
1524Assert.Equal(1, types[gp.PointCount - 1]);
1540Assert.Equal(3, types[gp.PointCount - 3]);
1541Assert.Equal(1, types[gp.PointCount - 1]);
1557Assert.Equal(3, types[path.PointCount - 3]);
1558Assert.Equal(1, types[path.PointCount - 1]);
1573Assert.Equal(128, (types[path.PointCount - 3] & 128));
1574Assert.Equal(0, types[path.PointCount - 2]);
1575Assert.Equal(1, types[path.PointCount - 1]);
1589Assert.Equal(129, types[gp.PointCount - 3]);
1590Assert.Equal(0, types[gp.PointCount - 2]);
1591Assert.Equal(1, types[gp.PointCount - 1]);
1605Assert.Equal(129, types[gp.PointCount - 3]);
1606Assert.Equal(0, types[gp.PointCount - 2]);
1607Assert.Equal(1, types[gp.PointCount - 1]);
1626Assert.Equal(129, types[gp.PointCount - 3]);
1627Assert.Equal(0, types[gp.PointCount - 2]);
1628Assert.Equal(1, types[gp.PointCount - 1]);
1642Assert.Equal(163, types[gp.PointCount - 3]);
1643Assert.Equal(1, types[gp.PointCount - 2]);
1644Assert.Equal(1, types[gp.PointCount - 1]);
1663gp.PointCount.Should().Be(4);
1665gp.PointCount.Should().Be(12);
1675Assert.Equal(0, gp.PointCount);
1677Assert.Equal(0, gp.PointCount);
1696Assert.Equal(9, gp.PointCount);
1708Assert.Equal(9, gp.PointCount);
2057Assert.Equal(7, path.PointCount);
2066Assert.Equal(0, gp.PointCount);
2113path.PointCount.Should().Be(4);
2209flat.PointCount.Should().BeGreaterThanOrEqualTo(original.PointCount);
2210for (int i = 0; i < flat.PointCount; i++)
2220Assert.Equal(3, path.PointCount);
2340int count = gp.PointCount;
2341Assert.Equal(expectedPoints.Length, gp.PointCount);