public void TestConstructors() { var img = new GflImage(500, 500, 500, GFL_BITMAP_TYPE.GFL_COLORS); string fileName = "test.tiff"; Assert.AreEqual(img.Width, 500); Assert.AreEqual(img.Height, 500); img.Save(fileName); img.Dispose(); img = new GflImage(fileName); Assert.AreEqual(img.Width, 500); Assert.AreEqual(img.Height, 500); img.Dispose(); }