Beispiel #1
0
 public void Save_OutputStream_Success(string fileName)
 {
     SaveAndCompare(new Icon(Helpers.GetTestBitmapPath(fileName)), true);
 }
        public static IEnumerable <object[]> Ctor_Bitmap_TestData()
        {
            yield return(new object[] { new Bitmap(10, 10), PixelFormat.Format32bppPArgb, new Size(10, 10) });

            yield return(new object[] { new Metafile(Helpers.GetTestBitmapPath("telescope_01.wmf")), PixelFormat.Format32bppArgb, new Size(490, 654) });
        }