12 references to FrameDimension
System.Drawing.Common.Tests (12)
System\Drawing\BitmapTests.cs (2)
496
Assert.Equal(1, bitmap.GetFrameCount(new
FrameDimension
(Guid.Empty)));
518
Assert.Equal(0, bitmap.SelectActiveFrame(new
FrameDimension
(Guid.Empty), index));
System\Drawing\Imaging\FrameDimensionTests.cs (10)
12
FrameDimension fd =
new
(guid);
23
yield return new object[] { new Guid("48749428-316f-496a-ab30-c819a92b3137"), new
FrameDimension
(new Guid("48749428-316f-496a-ab30-c819a92b3137")) };
31
yield return new object[] { new
FrameDimension
(new Guid("48749428-316f-496a-ab30-c819a92b3137")), new
FrameDimension
(new Guid("48749428-316f-496a-ab30-c819a92b3137")), true };
32
yield return new object[] { new
FrameDimension
(new Guid("48749428-316f-496a-ab30-c819a92b3137")), new
FrameDimension
(new Guid("b96b3cad-0728-11d3-9d7b-0000f81ef32e")), false };
33
yield return new object[] { new
FrameDimension
(new Guid("48749428-316f-496a-ab30-c819a92b3137")), null, false };
34
yield return new object[] { new
FrameDimension
(new Guid("48749428-316f-496a-ab30-c819a92b3137")), new(), false };
45
yield return new object[] { "[FrameDimension: 48749428-316f-496a-ab30-c819a92b3137]", new
FrameDimension
(new Guid("48749428-316f-496a-ab30-c819a92b3137")) };
67
Assert.Equal(guid.GetHashCode(), new
FrameDimension
(guid).GetHashCode());