예제 #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));
 }