public void SetIndexedDataLinearTest()
{
Bitmap Bitmap = new Bitmap(3, 3, PixelFormat.Format8bppIndexed);
Bitmap.SetIndexedDataLinear(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8 });
Assert.AreEqual(
"000102030405060708",
Bitmap.GetIndexedDataLinear().ToHexString()
);
}