示例#1
0
 public void countBitsTest100()
 {
     Assert.AreEqual(3, BitCounter.countBits(100));
 }
示例#2
0
 public void countBitsTestMinus1()
 {
     Assert.AreEqual(32, BitCounter.countBits(-1));
 }
示例#3
0
 public void countBitsTest1()
 {
     Assert.AreEqual(1, BitCounter.countBits(1));
 }