public void IsTransparentByDefault() { var image = new Bitmap(16, 16, format); Color[,] colors = image.AllPixelColors(); bool allColorsTransparent = true; for (int i = 0; i < colors.GetLength(0); i++) { for (int j = 0; j < colors.GetLength(1); j++) { if (colors[i, j].A != 0) { allColorsTransparent = false; break; } } } Assert.AreEqual(true, allColorsTransparent); }