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