Пример #1
0
 public unsafe void FromLowHighUnsigned_x64_Result()
 {
     Assert.Equal((long)0x0000000003040102, (long)PARAM.FromLowHighUnsigned(0x0102, 0x0304));
     Assert.Equal((long)0x00000000F3F4F1F2, (long)PARAM.FromLowHighUnsigned(0xF1F2, 0xF3F4));
 }
Пример #2
0
 public unsafe void FromLowHighUnsigned_x32_Result()
 {
     Assert.Equal((int)0x03040102, (int)PARAM.FromLowHighUnsigned(0x0102, 0x0304));
     Assert.Equal(unchecked ((int)0xF3F4F1F2), (int)PARAM.FromLowHighUnsigned(0xF1F2, 0xF3F4));
 }