Пример #1
0
 public void TestUInt64()
 {
     for (var n = 0; n < sizeof(UInt64) * 8; n++)
     {
         UInt64 a = (UInt64) ~(1L << n);
         UInt64 i = unchecked ((UInt64) ~0);
         i.SetBit0(n);
         Assert.Equal(a, i);
     }
 }