Author: jordi
Date: 2005-03-22 11:25:59 -0500 (Tue, 22 Mar 2005)
New Revision: 42121
Modified:
trunk/mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
Log:
active clone tests now that is fixed
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
2005-03-22 16:25:14 UTC (rev 42120)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
2005-03-22 16:25:59 UTC (rev 42121)
@@ -120,7 +120,7 @@
Assert.AreEqual (Color.Black.B, color.B);
}
- //[Test]
+ [Test]
public void Clone()
{
string sInFile = getInFile
("bitmaps/almogaver24bits.bmp");
@@ -140,7 +140,7 @@
Assert.AreEqual (colororg50, colornew50);
}
- //[Test]
+ [Test]
public void CloneImage()
{
string sInFile = getInFile
("bitmaps/almogaver24bits.bmp");
@@ -148,9 +148,9 @@
Bitmap bmpNew = (Bitmap) bmp.Clone ();
- /*Assert.AreEqual (bmp.Width, bmpNew.Width);
+ Assert.AreEqual (bmp.Width, bmpNew.Width);
Assert.AreEqual (bmp.Height, bmpNew.Height);
- Assert.AreEqual (bmp.PixelFormat, bmpNew.PixelFormat);
*/
+ Assert.AreEqual (bmp.PixelFormat, bmpNew.PixelFormat);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches