Ejemplo n.º 1
0
 public void ShiftPbgra32()
 {
     Assert.AreEqual(0x00ABCDEF, BitmapUtility.ShiftPbgra32(0x00ABCDEF, 2, -4, 0));
     Assert.AreEqual(0xFFADC9EF, BitmapUtility.ShiftPbgra32(0xFFABCDEF, 2, -4, 0));
     Assert.AreEqual(0x80212E40, BitmapUtility.ShiftPbgra32(0x80203040, 2, -4, 0));
 }